Why can't I get Eclipse / EPIC to display line numbers? - eclipse

I installed EPIC, but I cannot see the line number even I enable line number, any idea?

This is what worked for me:
Goto:
Window->Preferences->Perl Epic->Editor, then place a check beside "Show line numbers."
Window->Preferences->General->Editors->Test Editors, then UNCHECK Show line numbers.
Click Apply.
If the line numbers do not show up, right click on the left margin of the perl file you are viewing and click "Show Line Numbers" from the popup menu.
Make sure you uncheck the one in the general settings and check the one for the EPIC settings.
You may need to restart Eclipse to see the line numbers.

Eclipse->Window->Preferences->Perl Epic->Editor, then check "Show line numbers."

Related

How to remove the vertical line on VS CODE

I went into the settings.json, but the "editor.rulers":[] array is already empty. I still have the line in the middle. Please advise step by step to remove this. Thank you in advance!
You appear to be looking at the default settings JSON (not your actual settings JSON), which should contain nothing in that array (did you reach this via the command palette)?
Try the following:
Open the settings menu by clicking the Gear icon in the bottom left and selecting Settings, or by the keyboard shortcut Ctrl + ,.
In the top right of the settings menu, click the ellipsis in the top right and select "Show modified settings."
See if the "Editors: Rulers" setting is in your list of settings after filtering on modified settings. If it is, click the "Edit in settings.json" link for it, and delete the setting from your JSON.

Code formatter doesn't working in Eclipse

I'm need setting in Eclipse width of line and select "use modifier "final" where possible". I go to Windows->Preferences->Java->Code Style->Clean Up. Press Edit, in the tab Code Style selected "Use modifier "final" where possible". Wrote a new profile name. Apply->Ok.
Then go to Windows-Preferences-Java-Code Style-Formatter. Press Edit, in tab Line Wrapping, in field "Maximum line width" wrote 180.Wrote a new profile name. Apply->Ok.
Before this actions close the Preferences window and press Ctrl+Shift+F, but unfortunately the settings of edditing not changed.Restart of Eclipse not help. I'm using the Eclipse luna. Help me please. Can I do something wrong?

Unwanted sign on each line of worksheet

I don't know what the hotkey I accidentally clicked, but this Ǧ looking sign appeared on every line of code, and there are grey dots instead of spaces in the code.
How can I get rid of those characters?
Assuming this is SQL Developer, go to Tools->Preferences (or on Mac, find that under the SQL Developer menu). Expand the Code Editor section and click on Display. Untick "Show whitespace characters" (second checkbox in the list).
You can check for defined shortcuts under Preferences, in the Shortcut Keys section. On Mac there isn't one for this, but Windows has it as Control+Shift+W, which will also toggle them off if you don't want to go through the preference pane.

How do I activate word wrapping in text editor in Aptana Studio?

How do I activate line wrapping in text editor in Aptana Studio?
I'm interested about wrapping in view mode (in order to not have to do horizontal scrolling).
Tried right-clicking within the editor and selecting ‘word wrap’ from the context menu?
On Main Menu click "Window" choose "Preferences". In left-side list, click "Aptana Studio". An alphabetical list on right side will show. Select "Editors" then check "Enable word wrap (requires restart)".
It seems to work on the latest version of Aptana as well. Here are some screenshots of where you can find such option.
I'm using Aptana Studio 3 and you can right click anywhere in the code and select Word Wrap which should be the second last option.
I'm using Aptana Studio 3, build: 3.4.2 and found that 'word wrap' can be change with in editor from context menu, BUT only if the mouse are on line number field! If the mouse is on text editor the option 'word wrap' missing. This change only setting for current opened file. It will be good to change default option !
Window > Preferences > Aptana > Editors...
Actually click on the word "Editors", you don't need to click the "+" symbol next to it. Once that loads, go to the "Advanced" tab, and you should see the option you're looking for to enable word wrap.
Found that here.
http://forums.aptana.com/viewtopic.php?f=14&t=7482
Once you restart, you should be good to go.

Eclipse: I turned on hidden characters now I can't turn off

Somehow I've turned on hidden characters in Eclipse. It's not the "whitespace" characters in the general editor preferences. When turned on, it adds another layer of hidden characters over the existing ones.
Then I have things like
\r\n
Does anyone know what these are and how to remove them?
It is under Preferences > General > Editors > Text Editors. There is a checkbox labeled "Show whitespace characters". If you uncheck this the editor switches back to normal.
If you click on the link (whitespace characters) (<= v3.6) or (configure visibility) (>= v3.7) in this line you will get a popup window, in which you can define which characters eclipse is supposed to consider as whitespace characters.
In this popup window you also get the option to define the transparency in which each whitespace character is displayed in the editor, which you can use to (indirectly) change their foreground colour. I'm just mentioning it here, because it took me about half an hour to find this setting! ;-)
There is a toggle button 'Show Whitespace Chars' on the Eclipse toolbar
A great tip about using 'quick access' from eclipse forum:
CTRL+3 swc
Allows to turn them on and off
The right shortcut is Ctrl + N
UPDATE From Eclipse 3.7 version, something is changed... Now you have to go to:
Window > Preferences > General > Editors > Text Editors
CTRL + . does the job.
For Aptana Users
To toggle hidden characters in Aptana on and off, use the following keyboard shortcut:
Ctrl+Alt+W
I am using Eclipse Oxygen and can see this option to toggle whitespace characters:
It is actually in two places...
Sandkastenliga points out the obvious one, but you can also show white space with a shortcut key combination. The key combination is separate from the text editor preferences and will superimpose additional characters when active (it uses \r and \n for carriage return an line feed respectively instead of the symbols used by the text editor preference.)
Go to preferences > general > keys and look for the binding for the 'Show Whitespace' command.
I have the text editor preference turned on, so I removed the binding for this command altogether (it was set to Ctrl+. in my profile) to prevent accidental activation as it doesn't affect the other preference.
Go to Window > Preferences > General > Editors > Text Editors
Uncheck the "Show whitespace characters" option on the right side of the page, then click "Apply" at the bottom of the page.
Since this is not a standard setting, it could be the result of one of your extra plugin.
Did you try starting your eclipse with the -clean parameter?
Do you reproduce the issue with a fresh Eclipse installation?
Go to Preferences > General > Editors > Text Editors and restore defaults.
I have done this several times by accidentally hitting some keystrokes.
If you go to Windows/Preferences/General/Keys you will see all the keyboard shortcuts you have.
Mine is set to Control + .
I had to place my cursor inside the document and do it a couple of times to make it work because there is also a keyboard shortcut for Control +
Hope that helps.
You can add "Show Whitespace Characters" button in toolbar by customizing your perspective.
It also contains buttons to toggle word wrap, and toggle selection mode.
Go to Window > Perspective > Customize Perspective > Action Set Availability, then select "Editor Presentation" action set:
This works in Eclipse Neon.
You can also add a key binding for this action.
Go to Preferences > General > Keys > "Show Whitespace Characters"
Sorry this is a bit vague but it's a while since i used Eclipse and i do not have it installed. I think this is it ..... in one of the menus you will find the Eclipse settings, there are two set's of settings, current project and overall Eclipse, you mat need to check them both. In there are various menus in tree form that allow you control the actions and look and feel. But some of them are nested so there is an overall control but some packages have their own options in a sub menu set. The menu's will expand when you click them and i'm afraid you need to walk through them all.
Eclipse > Preference > General > Editors > Text Editors > Show WhiteSpace characters.