Home » Newcomers » Newcomers » Opening *any* file(CSV, SQL, unknown script file) in Eclipse?
|
Re: Opening *any* file(CSV, SQL, unknown script file) in Eclipse? [message #784667 is a reply to message #784572] |
Fri, 27 January 2012 21:14 |
|
On 27-Jan-12 11:07, Lawrence Coffin wrote:
> Last question for now...
>
> How do you get Eclipse to open a file as a text file? To just read the
> file as a text file, and work with it as a text file? For example, if
> you drag a CSV or do an Open on a CSV file, Eclipse opens it instead
> with Excel. If you don't have a perl plugin installed and try to drag a
> perl script on Eclipse, Eclipse passes it off to perl to execute it.
> These are *text* files. How do I tell Eclipse to just open the file for
> *editing*?
>
> Obviously I can change the file extension to .txt before opening it, but
> that seems like such a kludge.
>
> Thanks,
>
> -L
Right-click on the file in the Project Explorer, Package Explorer or
Navigator views, choose Open With, then choose the editor you wish to use.
|
|
| |
Re: Opening *any* file(CSV, SQL, unknown script file) in Eclipse? [message #784726 is a reply to message #784715] |
Fri, 27 January 2012 23:03 |
|
On 1/27/2012 3:48 PM, Lawrence Coffin wrote:
> Thanks Russell,
>
> What if it's not in a package? Just a file on my hard drive? Say a
> recent data export from a database or a CSV file from Excel? Those don't
> show up in any of those views, do they?
In the scenario I describe, the file is part of an Eclipse project.
While I consider Eclipse to be the primo IDE, I'm not so enthralled with
its text editor that I would want to use them in place of, say, vi/vim.
Maybe someone else can help you crack this walnut with a jackhammer. (No
offense intended here...just saying I wouldn't use Eclipse as an editor.)
|
|
| |
Re: Opening *any* file(CSV, SQL, unknown script file) in Eclipse? [message #787401 is a reply to message #786994] |
Tue, 31 January 2012 14:38 |
|
On 30-Jan-12 20:04, Lawrence Coffin wrote:
> Thanks Russell, no offense taken! :) I'm a little disappointed at how
> weak Eclipse is at general functionality. I'm so used to IDEs that work
> really well across the board for a wide range of languages and general
> text editing for any file on your system. Eclipse seems to be so tied
> into the package/installed module model that it really sucks for general
> use. Unfortunately it's a tool that a vendor our company has chosen as
> one of their standard tools so most of our consultants -- particularly
> the developers -- have it installed. It would be nice to leverage
> Eclipse for other things I'd normally use a decent IDE/editor for that
> other standard Windows tools don't support.
>
> Anyway, thanks again! Since this seems to be something Eclipse doesn't
> support very well, maybe I'll put in a feature request and see if it
> could be added down the line.
>
> -L
If we had our fingers wrapped tightly around your throat and forced you
to write on and for a single, narrow platform, I could see the
criticism. But, Eclipse is open source and written by many contributing
developers around the world. There's even tight integration of vi/vim
for Eclipse, written by third-parties.
Take the time to ease into it. You'll doubtless find that, except for
C#/.NET, you can develop pretty much anything in Eclipse. You just have
to find where to get the plug-ins for it.
|
|
|
Goto Forum:
Current Time: Fri Apr 19 07:18:20 GMT 2024
Powered by FUDForum. Page generated in 0.02970 seconds
|