What's New in CFEclipse 1.4.4

Color! There is now some color for cfscript-based components! Also, several wonky color issues have been addressed. Things are far from perfect, but they're much much better, in our humble opinion.

Color

cfscript cfc

There is now color in the cfscript-based components!

You can turn it off in: Preferences > CFEclipse > File Parsing.

scope coloring

There are two new types of scope coloring. Built-in scopes, like variables, request, and session, and scopes picked up from the dictionary file, like cgi, cffile, and cfhttp. (they look like the same color below, but one is really a darker red.)

If you don't like this you can change the color to whatever color your other text is.
"Smart" Comments

line comments

You can now toggle line comments (// super nifty comment) with M1+/

block comments

You can now un-comment block comments (/* cheese is the bee's knees */) from within the comment, similar to how the tag-based comments work.

disabled auto-insert quotes

When you are inside a comment block, and have auto insertion enabled for apostrophes or quotes, it''s now smart enough to tell, and won''t auto-insert.

auto-expansion

While in cfscript style "block" comments, new lines can now automatically be prepended with "*".

auto-closing

While in cfscript style "block" comments, if you hit enter after typing "/**", the comment will automatically be closed.

preference

You can turn these on and off with the new preference.

color style

You can now set the color of "JavaDoc" style comments separately from normal comments

Source Formatting

ignored tags list

There is now an option for specifing which tags will be ignored when formatting

close tags list

There is now an option for specifing which tags will be closed when formatting the source (cfinclude, cfset, etc.).

cfscript formatting

There is now fledgeling support for cfscript formatting

JavaScript formatting

There is now fledgeling support for JavaScript formatting

SQL formatting

There is now fledgeling support for SQL formatting

CSS formatting

There is now fledgeling support for CSS formatting
Change log

Tickets

Here is the list of tickets closed with this release. Some of these were tickets that had been left open, although they had already been fixed.
Closed Tickets
#592 javascript comments colorization too greedy
#605 hitting enter in blank document sends the editor into limbo
#67 Insert-tabs-as-spaces doesn't acknowledge tab-stops
#68 Content Assist should come up with a full list of CF Functions
#132 CFC Code complete
#439 Intellisense bug.
#556 syntax coloring for cfscript CFCs
#601 autocompletion : cannot disable function assist, and ordering is incorrect
#154 indent not preserved when replacing selected text with new line
#160 Comments not recognized by 'problems' in CFC
#281 Print Margin on Windows
#324 generation of tabs instead of spaces when moving selected lines to the right
#337 Empty editor when opening a file from the File Menu
#420 File parser and using cfhtmlhead to include Javascript files.
#514 color syntax oddness
#550 Editor rendering fails and messes up
#568 revamp file explorer
#581 Add option to disable auto indent
#582 files linked via RSE are unmodifiable
#583 newline within tag adds extra indent
#586 it would rock my world if we could have "smart" indenting when entering a newline between { and }
#587 I would love you forever if we could have cfscript comments auto-expand with each newline
#588 the editor needs to know that cfscript components are cfscript code blocks
#589 Mis-colored items with some tags/scripts
#591 disable auto-close when in comments
#594 comment mode continuation too eager.
#595 add auto-insert option for when there is only one proposal available
#597 C-Style comment continuation character indent off by one?
#598 add a selection to line comment action
#599 it would be totes awesome if the "selection to line comment" action was bound to M1+/
#600 disable auto-insert of quotes or apostrophes when in comment blocks
#602 formatting enhancements
#603 formatter needs "close tag" preference
#604 formatter needs "ignored tags" preference
#606 "spaces for tabs" ignored.
#607 Show hotkey combos for "Collapse All" and "Expand All" in context menu
#609 several context menu items do not display their key binding
#610 automate the changelog generation in the "what's new" page
#611 add "bracket on new line" format option to cfscript/javascript formatting
#612 add preference for syntax coloring cfscript-based cfcs
#573 context sensitive comments in cfscript

What's New in CFEclipse 1.4.3

Not much!

A couple of SFTP related bugs have been fixed, and there was a major change to the way we build the less modified plugins, which should cut down a lot on what gets downloaded with each update.

What's New in CFEclipse 1.4.2

Drag and Drop is back! You can once again drag files into the editor and have the correct type of link/img/cfimport code inserted.

A new file explorer has been added. Allows drag and drop between connections. Also allows weird stuff like editing CFML files within zip archives and jar files.

The following tickets have been closed

Ticket Summary
#574 insert color key binding conflicts with undo on os x
#249 FTP Hangs when connecting
#571 Collapse All, Expand All bindable as hotkey combos
#570 bad things happen if you don't leave a cfml page open
#558 quickdocs browser should have an option to open in external browser
#559 default external help url not respected
#561 default browser application path is incorrect for OS X and hard to change
#563 drag and drop of text jumps to bottom of editor
#564 jump to line doesn't expand collapsed code
#566 the trim trailing spaces operation should be atomic
#562 drag and drop of files into editor is gone
#557 print margin color is not respected

What's New in CFEclipse 1.4.1

Task Tags some documentation has been added

QFQuickDocs added customizable URL

Wrap with tag updated to use space as exit character

Image tooltips you can now disable image tooltips

Task Tags

Task Tags

Some text has been added that notes the use of a regular expression and has an example for escaping special regex characters.
CFQuickDocs

CFQuickDocs

The URL for CFQuickDocs is now customizable per project. There is a default setting in the preferences.
Wrap With Tag

Wrap with tag

The "wrap with tag" function has been tweaked so that entering the space character will exit from linked editing mode. Try it out, you'll see what we mean (select text, context-click (right-click) > Selection : Wrap with tag).
Image tooltips

Image tooltips

Image tooltips are now disable-able. The preference is under Preferences > CFEclipse : Show Image Tooltips (restart required).


What's New in CFEclipse 1.4.0

Task Tags have been added. This expands on the "TODO" task tag, adding the ability to add custom task types and priorities

A new preference has been added to set the auto-activation characters. These are the characters that, when entered, automatically activate content proposals.

A bug that caused 1.3.7 to not work in Eclipse versions below 3.5 has been fixed.

Expand tag selection up has been added

Expand tag selection down has been added

Tooltips for images have been added

Initial CFML search interface has been added. Currently doesn't work.

Content Assist

Auto-activation

A new preference has been added to set the auto-activation characters. These are the characters that, when entered, automatically activate content proposals. Preferences > CFEclipse > Editor > Auto-insertion and Closing > Auto-activation chars

For the 1.4.0 preview, I've tweaked the content assist to be more like
how it was, where it pops up as soon as you type the period in "cgi.".

This is possible because I refactored the way the auto-activation characters work.  I've removed the alphabet + all numbers, and replaced it with just a few chars and a preference to set them ourselves, even.

The defaults are:

" (,=_<~."
 ^--there's a space in there

Things work a little different now, but this should speed up working
in large files (a tiny bit), and just seems saner to me.

Back again is using space within a tag to prompt for attribute
completion (controlled by that preference I mentioned, so if you don't
like it, change it).  Space should only trigger for tag attributes-
otherwise it would be popping up everywhere.  More refactoring needs
to be done to the way proposals are proposed before we can get the hop
over the last " or ' back again (meaning: output="false"|<-- cursor
jumps past last quote when you select the proposal).

Images

Images tooltip

There is now a tooltip preview for images, and an associated view

Task Tags

Task Tags

You can now add, edit, and delete task tag types. This expands on the "TODO" task, and comes with the predefined tags:
  • TODO:Normal
  • FIXME:High
  • XXX:Normal

Text Selection

Expanding tag selection

You can now expand the tag selection up or down. The default keys are MOD1+[ and MOD1+], and are re-assignable via Preferences > General > Keys > Expand Tag Selection...
Search

Tag Search

A search interface has been added. It's not working yet tho. :)

[Theoretically] Fixed in this release:

For full descriptions, see the list on trac

What's New in CFEclipse 1.3.7

Several annoying bugs have been fixed, like the missing scope proposals (CGI, CFHTTP, etc.) and preferences have been added for enabling and disabling the various proposal categories. MXUnit replaces CFUnit.

Content Assist

Proposal Categories Preferences

A rough UI has been added to control what proposal categories are active while editing. If you are annoyed by the current proposal implementation, you'll want to play with these settings: Preferences > CFEclipse > Editor > Auto-insertion and Closing > Suggest...

Unit Testing

MXUnit

CFUnit has been replaced with MXUnit. With any luck we did it in a way that won't mess up existing MXUnit installs. So far, so good.

[Theoretically] Fixed in this release:

Ticket Summary
#461 How to use CFunit?
#533 jump to matching tag isn't working for HTML elements
#497 inherent inconsistency in bugfix for quotes in function args
#526 formatter and <cfoutput>#small#</cfoutput> type stuff
#525 Scope assist is missing
#528 auto-reconcile should have a preference
#524 attribute parsing for tag name seems to be case sensitive
#522 Code Formatting ignores for cfsavecontent

For full descriptions, see the list on trac

What's New in CFEclipse 1.3.6

CFEclipse 1.3.6 is a maintenance release. No new features to speak of. We are happy to announce the creation of some initial unit tests, in an effort to prevent regressions. They're pretty weak tests, but they'll get better as we progress.

[Theoretically] Fixed in this release:

#509	Errors with implicit structure/array creation
#106 	mishandling of multiline strings   	 
#478 	attribute validation with spaces 	
#486 	asking for content assist when you have a broken parse tree throws error
#496 	word wrap throws null pointer exception 	
#510 	insert cfabort action, doesn't 
#512 	useSmartPaste preference default is not initialized 
#513 	context menu added with each file opened
#515 	smartpaste preference doesn't seem to take 
#516 	Code Formatting splits regex onto 2 lines 	
#520 	syntax errors inside comments 
#521 	space at the end of strings/single quotes inside double quotes 	
#523 	Code Parsing error with cfinterface/cffunction 
#504 	cfdump and cfabort tags should print out their respective dump() and abort() functions in cfscript
#517 	Content Format menu option incorrect display
#518 	Code Parsing and formatting

For full descriptions, see the list on trac

What's New in CFEclipse 1.3.5

Here are descriptions of some of the more interesting or significant changes made to CFEclipse. They are grouped into:


Content Assist

Proposal Categories

Content Assist has been updated to use proposal categories. Eventually this will give us finer-grained control over what we propose and when.
  • Cycle through the proposal categories by repeatedly pressing ctrl+space.
  • The fist cycle, all proposals are listed.
  • Eventually we will add a preference to filter the initial list of proposals

Function Proposals

Function proposals are now a proposal category, and are available anywhere proposals are. Their presentation has been changed to a more intuitive format.

In-page Function Proposals

The current document is now parsed for functions and function arguments, any found are added to the function proposal list.

Code Formatter

Overview

This implementation uses the Jericho HTML library. It will do a decent job of formatting tag-based source, but has no support for cfscript or javascript. Any text within these elements will be left alone.

Preferences

The preferences for changing the available code formatting options are under Preferences > CFEclipse > Code Style > Formatter.

Editing

Print Margin

The print margin will now be at the correct offset when the editor opens. I think a side effect to this fix might have been this preference getting turned on for some users. It's controlled via Preferences > CFEclipse > Editor > Show print margin

Occurrence Marking

Occurrence marking has been refactored to be more like JTD. The selection of the current word is controlled by the same preferences that control the double-click text selection under Preferences > CFEclipse > Editor > Text Selection

Rename in file

The refactored occurrence marking enabled us to add a Rename in file command. The default key binding is MOD1+2 R. This feature allows you to quickly rename all of the currently marked occurrences.

Reconciler

The editor now uses a reconciling strategy deal, which basically means the document will be parsed after you stop changing it, vs. only when you save. There should probably be a preference to turn this off. But there isn't. Yet.

Auto-indent pasted tags

An initial "smart paste" implementation has been added. This feature automatically indents pasted code to the correct level, and keeps indentation at the correct level while adding tag attributes on new lines within a tag. It still needs a little work.

Marking of opening and closing tags

The editor will now mark the start and end of the current tag if the cursor is on the start or end of the tag. The presentation style is configurable via Preferences > CFEclipse > Editor > Annotations

Opening Files from the OS (CFEclipseCall)

You can now associate cfml files with the CFEclipseCall executable to be able to open them directly in CFE without starting a new instance of Eclipse each time. See the wiki page for CFEclipseCall.
Universal Welcome

Overview

CFEclipse now has some representation in the Universal Welcome (the screen that shows up with a fresh workspace). .

What's New

All this

Cheatsheets

There is a cheatsheet with this release, but it is currently useless.
Updated Dictionaries

ColdFusion

The dictionaries for ColdFusion versions 5 through 8 have been updated, and a dictionary for version 9 has been added.

Railo

An initial dictionary for Railo 3 has been added.
Outline View

Display

The outline view has been refactored to provide more usefual information.