Cursor style after installing insert/overwrite extension - vscode-extensions

After installing the Insert/Overwrite extension in VScode the cursor style is automatically changed into 'block' no matter how I change the cursor style in the settings.
How do I change the cursor style back to line?

Related

Spyder IDE: Previous and Next Cursor Position shortcuts are not working properly at all

I will often use Ctrl+G to go to a definition of some variable and then use the "previous cursor position" shortcut to go back to where I was after viewing. This is easy to achieve in Eclipse. But in Spyder, the previous cursor position shortcut (I left as the default Ctrl+alt+Left) takes me to seemingly completely random places. It even takes me to files I haven't touched in months! I checked that the shortcut is not being overridden by another command so I'm not sure what the issue is. I am using Spyder 4.0.1.

IntelliJ moving my mouse cursor in random positions

IntelliJ sometimes moves the cursor on default positions, like over the Find button when you do a Find in Path.
However recently it is moving my cursor to completely random positions. I suspect this is because of my multi-monitor setup.
A computer/IntelliJ restart doesn't fix the issue.
How can I disable this "automatic move" thing entirely?
you can disable "automatic moves" by Settings > Appearance & Behavior > Appearance, checkbox Automatically position cursor on default button. Docs
Edit (2021-02-15): Something changed in the UI in recent versions. If you're having trouble finding the option you can edit the registry.
Here is the request for missing option:
https://youtrack.jetbrains.com/issue/IDEA-99985
The option should be disabled though. Try checking
focus.follows.mouse.workarounds in registry.
You can open the registry by searching all Actions for Registry, then edit that value.
Press Ctrl+Alt+Shift+/ and select "Registry" from the menu that appears.
Then set ide.settings.move.mouse.on.default.button value to disable.
Registry dialog image
From the official Intellij documentation: https://www.jetbrains.com/idea/help/appearance.html#d1207234e126
To disable this quickly in Intellij 15 and newer (which have the 'Search Everywhere' feature), do the following:
Press Shift+Shift
Type UI: auto. This should popup the following:
Highlight that option and press enter.

PHPstorm scrolling with keyboard

I'am looking for an option to force scroll code when entering with keyboard cursor in example at 5 line from the end.
Default behavior is to scroll code when entering 1st or last visible line of code.
I would like to change it even for 10th from the beginning and 10th before last.
It appears the base IDE does not have an option for this. However, the behaviour is available in the IdeaVIM plugin (docs) under the scrolloff option.
'Scroll offset' mode can be enabled for the current session with the command:
:set scrolloffset=10
Add that to your ~/.ideavimrc to make it permanent.
NB: IdeaVIM changes the IDE to behave more like vim*, which may require some re-training.
If you're not familiar with Vim:
Install the IdeaVIM plugin (via Settings → Plugins → Browse Repositores → type 'ideavim' in search)
Restart the IDE
Open a file
Note the caret is a block like █; this indicates 'normal' mode
Press : to enter the 'command' mode
Type set scrolloff=10 then Enter
Scroll around, notice the editor scrolls before the caret gets to the very top (or bottom)
Press i to enter 'insert' mode, and edit your file as usual
Press ESC to return to 'normal' mode
Interactive vim lessons
openvim.com
vim-adventures.com
* It seems difficult to have the plugin only modify the scrolloffset behaviour and leave the rest per the default IDE.
You can set "EditorMoveUpAndScroll" shortcut.

How do I remove the "stripe marks" from navigation bar and project window?

I use a handlebars plugin to be used with requirejs in my project. This makes Webstorm report an error if I require a template using the plugin-specific syntax:
var template = require('hbs!./sometemplate.hbs');
This is fine; I can easily control how the editor should present this error in my javascript file.
However, I cannot seem to figure out how to remove the "stripe marks", which appear in my navigation bar and project window:
How do I remove the red stripes from my windows, but not from the actual javascript file?
You can't. I can only suggest disabling error highlighting for the files where you use such require statements. This can be done using Hector icon in the lower right corner: open your file in editor, click the Hector icon and then move the slider to change the Highlighting level to None. See http://www.jetbrains.com/webstorm/webhelp/changing-highlighting-level-for-the-current-file.html.
BTW, WEB-1167 is fixed, so using this plugin-specific syntax shouldn't be a problem in next release.

Basic indentation settings in Xcode

The default settings in Xcode 3.2.6 do some automatic indentation: typing if (something) and pressing return (when the cursor is to the right of the closing paren) automatically indents the cursor by one tab. How can I turn this feature off?
I tried turning off "syntax-aware indenting" however this doesn't solve the problem. Pressing return in the above example still indents the cursor (it's aligned with if in this case).
My ultimate goal is to avoid "stray tabs" (blank lines that have tabs).
You could hook in a code beautifier to clean up the tabs afterwards: http://robertjpayne.com/post/9092159751/using-uncrustify-directly-in-xcode-4