How can i set things up so that it opens in a new tab - the way that
homesite, or dreamweaver (or any other editor) works?
I hope this isn't a FAQ. I've searched the docs and spent lots of
time looking at the preferences dialog trying to answer this for
myself.
Thanks in advance.
Seems like you have changed a setting somewhere!
Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 8676 4223
Mobile: 0404 998 273
I installed eclipse on my laptop and it does the exact same thing. I
have a computer running ubuntu. Right-click on an xml file and select
"open with" Eclipse isn't in the list so I select "command" and type
"eclipse" Result: the file opens in a whole new instance of eclipse,
not in a new tab.
I feel like I'm in the twilight zone here.
On Aug 26, 9:34 pm, Andrew Scott <andrew.sc...@aegeon.com.au> wrote:
> Sounds like a settings issue, by default it double clicking the file it is
> opened by the associated editor, in a new tab.
>
> Seems like you have changed a setting somewhere!
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.www.aegeon.com.au
> Phone: +613 8676 4223
> Mobile: 0404 998 273
>
> -----Original Message-----
> From: cfeclip...@googlegroups.com
>
> [mailto:cfeclip...@googlegroups.com] On Behalf Of eric.n...@gmail.com
The preferred method of installing Eclipse plugins is through Eclipse
itself:
http://trac.cfeclipse.org/cfeclipse/wiki/InstallingCfeclipse
Once CFEclipse is installed you should be able to open the CFEclipse
"perspective"
Window > Open Perspective > Other > CFEclipse
Now if you setup a new CFEclipse project - .cfm/.cfc files should open
in the CFEclipse perspective. And you should be able to right click a
.cfm/.cfc and say "Open with... > CFML Editor"
If you install something like XML Buddy - you should be able to
right-click on your .xml files (from within Eclipse) and say "Open
with... > XML Buddy".
Eclipse isn't really designed to open files directly from the Windows
shell - it's oriented around "Projects". I should probably add something
to the Trac FAQ regarding that. See this post by Mr. Drew regarding the
issue:
http://www.markdrew.co.uk/blog/index.cfm/2007/1/26/Ask-Mark-Why-you-cant
-edit-files-in-CFEclipse-from-straight-from-Windows-Explorer
Jim
Thanks Jim, that's good info. I hope that bug is closed out
eventually. It sounds like every other IDE already supports this.
Yes, I understand and I'm willing to try to adapt my work habits to
the tool.
But what you have to understand is, where I work they've been doing
coldfusion since back when the tags started with db instead of cf.
There are more than 10,000 source files of all different types, on
about five different servers. I'm not creating a new project, getting
a nice requirements/specification document, and happily coding away on
that one single project to completion. Eclipse seems designed to
support that kind of developer.
90% of what I do is maintenance. "hey, can you change the wording of
this for me?" "can you get rid of that button?" There are dozens of
other developers - we even have COBOL people. I get a call from
someone who's having a problem. I just need to open their file while
I've got them on the phone. I might have to open three or four
files. Please don't tell me that I have to create a project that I'm
never going to look at again. I just need to open a file and make a
quick edit, but I need to do that 100 times a day.
The projects paradigm seems to fit traditional programming, where you
compile a bunch of files together. If it works with coldfusion at
all, it seems best suited to creating new applications.
But hey, I'm willing to try, and willing to learn. It just seems
silly to take a traditional programming metaphor and force it onto
what is basically a batch processing world (I know that coldfusion is
"object oriented" but we're not fooling anyone - it still runs in
batch).
> The projects paradigm seems to fit traditional programming, where you
> compile a bunch of files together. If it works with coldfusion at
> all, it seems best suited to creating new applications.
Well - it may be that CFEclipse isn't the ideal tool for what you need?
I think the big power of CFEclipse comes when you tie it into the other
plugins available - Ant, SVN, etc. If you are just editing individual
files, than maybe a more traditional, simple text editor might be
better?
One I've been playing with lately is 'e' - it's a clone of Textmate for
the PC. Very slick and they do have a ColdFusion 'bundle' available...
http://www.e-texteditor.com/
Jim
I hear where you are coming from. I like using jEdit for that sort of
thing. It has quite a few useful plugins as well.
Jeff
the use of projects shouldn't really hinder you either tho. i know
it's hard to get used to. i went from CFStudio to HS+ to "wtf is it
with these frickin' projects" in CFE. it was weird. Very weird.
So, with the "it's not just you" out of the way... if your files are
in projects, and somebody asks you to add some formatting to
"foo.cfm", you'd just open the project that contains foo.cfm. ?
--
Charlie Griefer
================================================
"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."
And to your first point, no one had yet mentioned the File Explorer in the
thread, so good observation there.
Still, while Eric may well say that will suit his needs, I know others who
will say it just doesn't, really. It solves one problem (accessing files
from within CFE without need for projects).
But what it doesn't solve is (for the same reasons Eric outlined) the need
(or preference) to use the operating system file explorer to find files. Or
maybe folks have shortcuts defined for them. Or maybe they find the files
while doing a desktop/filesystem search (with an OS level tool, or Google
desktop). Whatever. They just may have many instances where they wish to
open a file from outside of Eclipse
The fact that Eclipse will open an entirely new Eclipse instance each time
just mystifies them--and keeps many from using the tool at all. Yes, "if
Java programmers needed to do this, then Eclipse would do it already".
Let's just take consolation that it's been added to the list of things to
consider. Since it's really an Eclipse issue, not a CFE one, it may not be
easily solved. I've come to accept that fact, myself. Still, it would just
help a whole raft of people for whom this is a pretty significant detriment
to getting into CFE.
/charlie (A)
-----Original Message-----
From: cfeclip...@googlegroups.com
[mailto:cfeclip...@googlegroups.com] On Behalf Of Charlie Griefer
Sent: Wednesday, August 29, 2007 5:34 PM
To: cfeclip...@googlegroups.com
Subject: Re: Opening a File in Eclipse
I understand that Eric's files aren't in projects now... i'm saying if
he wants to fully embrace the Eclipse/CFE goodness... projectize 'em
(yes it's a word that i just made up) :)
in all seriousness... i made the same journey that you and eric and
others are making now. it -is- a different paradigm and a different
way of thinking. but you -do- get used to it. i'm proof of that.
As far as double clicking a file from the OS... i'll be honest, I
dislike the fact that it won't open in the current instance of Eclipse
just as much as you do (yes yes, i do still have files that haven't
been projectized) :)
if it's a minor fix, i'll just right click -> open with -> notepad and
make the change. it's a shortcoming (for me, as i would find this
functionality useful). but it's a tradeoff that i've been willing to
make as i've found the other features of Eclipse (and the various
plugins) to be worth that sacrifice.
You both are not the only ones who struggled to come to grips with Eclipse.
I tried it, went back to dreamweaver (At least CFeclipse was younger then)
and when I made the switch fully and embraced its power.
So much power....
Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 8676 4223
Mobile: 0404 998 273
Now as has been pointed out, there are developers who prefer to use OS
based search tools. There may be hope for you in some proposed
solutions: https://bugs.eclipse.org/bugs/show_bug.cgi?id=201154 .
Lastly, there shouldn't be a reason to keep source files outside of your
projects. If you are keeping source files outside of your projects, you
are doing it wrong (with the exception of linked folders for less common
cases). If you really want to bust some balls head on over the Eclipse
bug site - you'll likely find more convincing arguments as well.
You're right, it has a lot of things that make it (I can already tell)
indispensable. I particularly like the outline view.
Today I created one project per server with a single linked folder. I
think I can almost live with that. I miss being able to sort by
change date, but that's a small thing. I also miss a *real* linked
split view (what are they thinking letting you have two windows of the
same file and being able to edit them both?) but being able to split
the screen between two different files is awesome.
This is a very helpful newsgroup by the way. Thanks to everybody.
I'd like to pick up on one point you mention: why is it that we can't see
the modified date/time for a file in the file view? Is there again some
difference in use/style where most folks just don't miss that? It's another
thing I've missed, for sure, since I preferred to keep files in descending
date order (most recently updated first) in the "other" CFML editors I've
used. :-)
/charlie
-----Original Message-----
From: cfeclip...@googlegroups.com
[mailto:cfeclip...@googlegroups.com] On Behalf Of eric...@gmail.com
Sent: Wednesday, August 29, 2007 11:10 PM
To: CFEclipse Users
Subject: Re: Opening a File in Eclipse
> I'd like to pick up on one point you mention: why is it that
> we can't see
> the modified date/time for a file in the file view? Is there
> again some
I missed that at first - but now all my files live in SVN - so I don't
really care about dates - I care about version - and the Subclipse
plugin does show me the version # in the Navigator.
I like the "Workbench" term used in Eclipse. If I go look out at my
workbench it's covered in tools. Screwdrivers, hammers, wrenches, etc.
Now if I need to fix something on my motorcycle - I park the motorcycle
next to the workbench so I have ALL my tools nearby. But if I need to
fix something small in the house - I don't drag my workbench inside with
me - I pick up a screwdriver and carry it in.
Eclipse is a big, sometimes clunky, tool - but when you need to do heavy
lifting - I don't think it can be beat. But for smaller tasks - I don't
think it may be the best tool to use.
Jim