Why there are plus signs on the left side of my sublime text 3 text editor on every line? How to remove it?
You have probably installed the GitGutter package. It highlights additions to your code with a + symbol, removal with a - symbol and changes with a circle.
If you don't like this feature, you can either disable (or uninstall) the entire package or use the GitGutter: Disable for View command to disable the markers for the current document.
If you don't like the appearance of those markers, you can change the styles by running the Preferences: GitGutter Popup Stylesheet command and edit the styles.
Related
Is there any way to set the background color for certain lines in GoLand (JetBrains IDE) so I can sign what code I have read?
Is it possible to do this? Does not matter if it's an IDE function or via some plugin.
There are a few ways to mark some lines and add them to the "Reading" list:
Bookmarks. It is built-in functionality in IntelliJ-based IDEs. You can go to the line with Authenticator interface declaration and select Edit | Bookmarks | Toggle Bookmark in the main menu. All bookmarks are available in View | Tool Windows | Bookmarks.
3rd-party plugins. I'm aware of MultiHighlight plugin that supports selection of the piece of code.
Sticky selection can do that trick.
there is the brief intro about it:
you can mark a selection to be permanently highlighted, even when your caret moves away. Inspired by "Style token" of Notepad++.
You can define an arbitrary number of Paint Groups. Selecting the appropriate editor action (keystroke or context menu), the all occurrences of currently selected text will be added to the Paint Group and will be permanently highlighted (until you clear the selection with an other editor action). So you can have different text fragments to be selected with the same Paint Group. The Paint Groups are kept when IntelliJ is closed.
You can set different colours for each Paint Group
You can set a marker to be visible on the right side of the editor
You can add multiple selections to the same group
You can convert a Paint Group to multi caret selection (and thus edit, copy, delete, etc. it)
For convenience you can undo the last addition (until the document is edited)
You can cycle through each element in a given Paint Group or in all Paint Groups
Keymap actions are added dynamically for paint, clear and convert as you add more Paint Group
I'm editing a matlab file on Sublime 3.2 and noticed that color indicator on the left, which seems related to some newline formatting.
Is there any reference about the proper syntax which this indicator is based on?
Sublime recently added Git, this might be git changes indicator. Check this link for more details, but it will work for files which are not tracked by git.
I use a particular color theme in the appearance preferences of LiClipse to change the appearance of the text in my editor for my PyDev projects.
I can easily change the color of any type of data that the editor interprets, except for strings. (Perhaps there's more but I have yet to discover them)
I am able in the Preference setting window to set any colors for strings, and I do see it being applied in the preview that the window shows, but when I click Apply, the strings in my code stays plain white. I've tried editing a couple of other data's color, and they all work great.
Following is two screenshots showing the settings window just before pressing "Apply", and my resulting code, in that order.
In the Preferences window, we can see in the preview that the "String" part is colored. Any color works. But then in my editor we can see that it did not apply, but all the other word object colors did.
My guess is that perhaps the strings in the PyDev editor are not interpreted as string, but instead something else.
I'm using LiClipse 4.5.2.201803171104
On Windows 7.
After a couple of trial and errors, I found out that by default, strings in the LiClipse PyDev editor are interpreted as constant.
Therefore, editing the color of constant changes the display colors of strings in the editor.
In my theme, I've set the background color for comments. But the color is applied to the entire row, rather than just the area with text. Is there a theme setting I can use to fix that?
The Sublime Text theme engine relies on the scopes defined in the language syntax.
Executing view.scope_name(view.sel()[0].begin()) in the Sublime Console when the cursor is inside the comment shows source.python string.quoted.double.block.python - and is the same when the cursor is in a whitespace section of the string and when it isn't.
This means you would need to alter the python language definition that Sublime uses to report a different scope when relevant, for example, string.quoted.double.block.whitespace.python, before you can use it in your theme.
I would like my caret in sublime text 3 to have a custom hex color attached to it so it is easier to see. Is there a plug in that I can download to achieve this feature or do I haft to edit the theme file? If I need to edit the theme file how should I do that and achieve a successful result.
SublimeText theme files are XML, so you can just find and edit the following chunk
<key>caret</key>
<string>#FFFFFF</string> # change this to the color you want
Otherwise, if you prefer a more GUI approach you can have a look at TMTheme Editor