Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » code markers - how are they implemented?
code markers - how are they implemented? [message #994855] Fri, 28 December 2012 13:20 Go to next message
Simon Schäfer is currently offline Simon SchäferFriend
Messages: 14
Registered: June 2011
Junior Member
Hello,

when one types for example a string literal (") the editor inserts the following:

"^"|

where ^ is the cursor and | a code marker one can jump to after pressing enter or tabulator key.

Is this feature really called code markers, or does it have a different name? And where can I find its implementation, i.e. in which packages/classes?

Greetings,
Simon
Re: code markers - how are they implemented? [message #997608 is a reply to message #994855] Mon, 07 January 2013 10:33 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 28.12.2012 14:20, Simon Schäfer wrote:
> Hello,
>
> when one types for example a string literal (") the editor inserts the
> following:
>
> "^"|
>
> where ^ is the cursor and | a code marker one can jump to after
> pressing enter or tabulator key.
>
> Is this feature really called code markers, or does it have a
> different name? And where can I find its implementation, i.e. in which
> packages/classes?
It is called Linked Mode. Use this as an entry point:
http://help.eclipse.org/juno/index.jsp?topic=%252Forg.eclipse.platform.doc.isv%252Freference%252Fapi%252Forg%252Feclipse%252Fjface%252Ftext%252Flink%252Fpackage-summary.html

Dani
>
> Greetings,
> Simon
Re: code markers - how are they implemented? [message #997702 is a reply to message #997608] Tue, 08 January 2013 15:18 Go to previous message
Simon Schäfer is currently offline Simon SchäferFriend
Messages: 14
Registered: June 2011
Junior Member
Hi Dani,

this is exactly what I searched for. Thanks very much for the link, it helps me a lot.

Greetings,
Simon
Previous Topic:Code Assist Not Work In Ubuntu 12.04
Next Topic:Why is a return type erased
Goto Forum:
  


Current Time: Thu Apr 18 14:37:46 GMT 2024

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

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

Back to the top