Adding a column guideline to the editor in IntelliJ

前端 未结 3 778
悲&欢浪女
悲&欢浪女 2021-01-01 08:56

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:

相关标签:
3条回答
  • 2021-01-01 09:20

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

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

    0 讨论(0)
  • 2021-01-01 09:36

    In Intellj idea 13,

    STEP 1 :
    Goto File-> Settings > Code style > General

    intellij 13 column width

    STEP 2 : Change Right margin (columns) label

    STEP 3 : Check on Wrap when typing reaches right margin.

    STEP 4 : Goto Editor-> Appearance, check on 4th label (Show right margin)

    show margin

    output

    enter image description here

    0 讨论(0)
  • 2021-01-01 09:42

    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

    0 讨论(0)
提交回复
热议问题