Skip to main content



      Home
Home » Modeling » TMF (Xtext) » [Xtext] Code Formatting via menu, but "Source" menu is not present
[Xtext] Code Formatting via menu, but "Source" menu is not present [message #50627] Fri, 12 June 2009 05:30 Go to next message
Eclipse UserFriend
Hello,

I'm using the personalizable formatting feature and can format my textual
model via CTRL-SHIFT-F.

Unfortunately the formatting is not reachable via the menu entry
Source->Format because the whole Source menu gets invisible when I go into
the text view.

Is this true or do I make a mistake here? If it is true, whe can I expect
that this menu entry gets visible?

Ciao, Michael
Re: [Xtext] Code Formatting via menu, but "Source" menu is not present [message #51296 is a reply to message #50627] Sun, 14 June 2009 15:39 Go to previous message
Eclipse UserFriend
Originally posted by: peter.friese.itemis.com

Michael,

there is no "Format" menu item yet, as we do not yet have a "Source" menu.

Would you be interested in having a context menu entry, a main menu
entry (in the yet to be created "Source" menu), or both?

If you are interested in having a source menu, please open a bug. As
always, a patch is very welcome!

I created a patch (see bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280200 ) to add the
"Toggle Comment" command to the editor context menu, this might serve
as an inspiration for a patch.

Cheers,
Peter


On 2009-06-12 11:30:36 +0200, "Michael Mühlberg"
<michael.muehlberg@sap.com> said:

> Hello,
>
> I'm using the personalizable formatting feature and can format my textual
> model via CTRL-SHIFT-F.
>
> Unfortunately the formatting is not reachable via the menu entry
> Source->Format because the whole Source menu gets invisible when I go into
> the text view.
>
> Is this true or do I make a mistake here? If it is true, whe can I expect
> that this menu entry gets visible?
>
> Ciao, Michael
Previous Topic:Errors in Xtext Grammar File
Next Topic:Uniqueness Check
Goto Forum:
  


Current Time: Fri May 09 02:21:27 EDT 2025

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

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

Back to the top