Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding a column guideline to the editor in IntelliJ

I'd like to use column guide line to IntelliJ IDE. Anybody knows about this? I couldn't find any solution for the feature?

For example: Visual Studio with column guideline

like image 999
popopome Avatar asked Aug 13 '10 21:08

popopome


People also ask

How do I change the editor in IntelliJ?

icon on a tab, in the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Editor | General | Editor Tabs and select the appropriate option in the Close button position field.

How can I see columns in IntelliJ?

Show columnsRight-click any of the cells in the header row and select Columns List. Alternatively, press Ctrl+F12 . Select the hidden column (a strikethrough column name) and press Space .

How do I see column numbers in IntelliJ?

At the bottom of the Editor window, there is a status bar, which shows information about the current file and the project status. In the first image, 16:1 represents the current line number and the column number respectively.


2 Answers

If I understand correctly what you're trying to configure, then you need:

Go to IDE Settings -> Editor Settings -> Appearance -> Tick Show right margin.

like image 120
Roman Avatar answered Sep 29 '22 15:09

Roman


I use Idea 12. You can find the settings here: First go to:

  • File > Settings > IDE Settings > Editor > Appearance
  • Verify that "Show right Margin" is checked.

Now go to:

  • File > Settings > Project Settings > Code Style > General
  • Select your project's Scheme and then the right margin character size.
  • From this page you can auto wrap or switch to using the tab character vs. the 4 spaces for indents.

Hope this helps

like image 35
ranma2913 Avatar answered Sep 29 '22 16:09

ranma2913