Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Open file at line from command line(Open file at line)
Open file at line from command line [message #948740] Thu, 18 October 2012 10:20 Go to next message
Ed Blus is currently offline Ed Blus
Messages: 2
Registered: October 2012
Junior Member
Is there a way to open a file at a specific line from command line?
Shocked
Ste
Re: Open file at line from command line [message #949840 is a reply to message #948740] Fri, 19 October 2012 10:53 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 18.10.2012 14:11, Ste Gu wrote:
> Is there a way to open a file at a specific line from command line?
You mean open in Eclipse? Just do this:
eclipse.exe <file goes here>

Dani
> 8o Ste
Re: Open file at line from command line [message #949916 is a reply to message #949840] Fri, 19 October 2012 12:39 Go to previous messageGo to next message
Ed Blus is currently offline Ed Blus
Messages: 2
Registered: October 2012
Junior Member
This is correct only for the first part of the question.
I need also to position the cursor at a specific line....
Re: Open file at line from command line [message #949978 is a reply to message #949916] Fri, 19 October 2012 14:03 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 19.10.2012 14:39, Ed Blus wrote:
> This is correct only for the first part of the question.
> I need also to position the cursor at a specific line....
That's not supported. There's an enhancement request for that already.

Dani
Previous Topic:[Juno][XML Editor] last edit location does not work
Next Topic:A question about IDocumentProvider
Goto Forum:
  


Current Time: Wed Oct 01 22:21:48 GMT 2014

Powered by FUDForum. Page generated in 0.01649 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software