Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » comment on the same line as code
comment on the same line as code [message #1718846] Thu, 31 December 2015 04:53 Go to next message
Whiley Ifthenelse is currently offline Whiley IfthenelseFriend
Messages: 2
Registered: December 2015
Junior Member
I am using Aptana Studio 3 with Eclipse , after using "format" command on my code all my comments are put on separate lines. Is there an option to leave my comment on the same line as my code?
Re: comment on the same line as code [message #1718870 is a reply to message #1718846] Thu, 31 December 2015 12:37 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Assuming this is Java, you can look at Window -> Preferences -> Java ->
Code Style -> Formatter to influence how things are formatter.

On 31/12/2015 10:07 AM, Whiley Ifthenelse wrote:
> I am using Aptana Studio 3 with Eclipse , after using "format"
> command on my code all my comments are put on separate lines. Is
> there an option to leave my comment on the same line as my code?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: comment on the same line as code [message #1718887 is a reply to message #1718870] Thu, 31 December 2015 20:55 Go to previous messageGo to next message
Whiley Ifthenelse is currently offline Whiley IfthenelseFriend
Messages: 2
Registered: December 2015
Junior Member
I am using it for javascript and HTML coding. There is an option for HTML code in Window- Preferences-Aptana Studio-Formatter- HTML- Comments - Place comments in separate lines , ... but it does not have any affect on my code , the comments are still placed on separate lines, tried with check mark off and on. For javascript there even is no such option. Can anyone confirm that this is option works or doesn't for them? Is there any other setting in preferences that changes the behavior of a "formatter" that would let me put comments on line with a code?

index.php/fa/24462/0/

[Updated on: Thu, 31 December 2015 22:23]

Report message to a moderator

Re: comment on the same line as code [message #1718889 is a reply to message #1718887] Thu, 31 December 2015 22:52 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

You might also try asking through Aptana's support locations; you're asking about a plug-in not from eclipse.org. http://www.aptana.com/support.html

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Eclipse Job custom ProgressMonitorDialog instance
Next Topic:WebView Error
Goto Forum:
  


Current Time: Thu Mar 28 16:23:33 GMT 2024

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

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

Back to the top