phpStorm 7 Code Completion Issues - phpstorm

Since updating to phpStorm 7 for OSX, I cannot get code completion for HTML to stop.
For example, if I type class=, as soon as I hit =, two double quotes are injected. How can this be stopped? Is this a bug? I've unchecked everything under Preferences > Editor > Smart Keys and Code Completion.

It is now possible to disable this feature:
http://youtrack.jetbrains.com/issue/IDEA-113332#comment=27-612047
If you go to Preferences -> IDE Settings -> Editor -> Smart Keys
and untick the box marked "Automatically add quotas for attribute value", you will be back to normal (non-frustrating) behavior.

There is a known issue. It will be possible to disable this behavior in the future versions.

Related

Octave (GUI): Clear all variables of the work environment in one go

GNU Octave, Version 6.1.0, using the GUI:
Is there a way to clear all variables that are listed in the work environment without restarting Octave and without clicking and clearing every single variable?
This is needed for a cold start when switching to a new task, when you still want to keep opened the already opened files.
Taken from the helpful comments, here are the ways to choose from:
Type "clear" in the editor.
Edit->Clear Workspace in the menu.
Not recommended of course, but possible: you could also just close the GUI and open it again. Then, you should at best use the setting to re-open tabs from the previous session when you close the GUI and open it again. See Edit -> Preferences -> Editor -> File-Handling -> Restore Editor Tabs from previous session on startup or when editor is shown again after closing

Visual Studio 2013 is inserting tabs instead of spaces

I have set Visual Studio 2013 to "Insert spaces" in Tools -> Options -> Text Editor -> All Languages -> Tabs. The settings for Text Editor -> C# -> Tabs is also set to "Insert spaces". When I open up a C# file and use the tab key then VS is keeping the tab instead of inserting spaces. If I go back into Tools -> Options -> Text Editor -> C# -> Tabs and switch to "Keep tabs", click OK and then go back in and change it back to "Insert spaces" then VS starts using spaces. If I close VS and open up a C# file VS is using tabs again. I have to go back in and select "Keep tabs", click OK and then go back in and change it back to "Insert spaces" for it to work again.
Additionally, when VS is keeping the tabs if I complete a statement with a semicolon or close a block with a brace then the tabs which VS was using are then replaced with spaces. Or if I do a code reformat then it will change all the tabs to spaces. Any ideas as to why VS is initialing using tabs?
Also, I am using Resharper. Resharper is also set to use spaces. When I suspend Resharper I experience the exact same behavior in VS, so I don't think Resharper is causing the issue.
In my case the culprit was another extension, VsVim. I suppose the first step in troubleshooting this should be disabling all extensions and if that resolves the isse then re-enabling them one at a time to determine the offending extension. To resolve the issue with VsVim expandtab can be turned on: :set expandtab.

Cannot type the € symbol in PhpStorm

I can type the euro symbol (€) in any other application with the standard keypress but not in PhpStorm. Nothing happens when I press AltGr+E. What's the problem?
It's a known issue considered not a bug. AltGr+E is basically an alias for Ctrl+Alt+E. This last key combination is assigned by default to the Edit command provided by the Perforce Integration plug-in. You can verify it at:
File → Settings → IDE Settings → Keymap
Click on the magnifying class icon and press AltGr+E:
Possible solutions:
Disable the plugin if you don't need it:
File → Settings → IDE Settings → Plugins
Otherwise, change or disable the keybinding.
Whatever the reason, the Browse History binding does not interfere. In fact, it doesn't even work.
I could not type # symbol and it was same issue as this one.
My story of solution:
Tried to write # symbol (Ctrl + Alt + X) and that typed nothing, just info in bottom left corner (something about finding Xpaths) showed up.
Then I went to Settings > Keymap and type 'xPath' in search field.
This way I found out that on that key shortcut was plugin about XPaths bound.
Go to plugins, find the plugin and disable it.
Restart IDE and then I can write # symbol as I need.

keyboard shortcut in the Command Palette is no longer working

I've installed a Javascript formatter into ST2. For some reason, the keyboard shortcut is not working suddenly. When I search in my keymaps for alt+ctrl+f I don't see anything. How can I figure out why this shortcut is no longer doing anything? You can see the poorly formatted js in the screenshot. If I call the command via Sh+Ctrl+P it works fine. Does the Ctrl+Alt+F on the right side in the screenshot indicate that that command is bound to that shortcut, or just that the package thinks that it is bound to that?
I would suggest you try to use FindKeyConflicts. This plugin will:
Assist in finding key conflicts between various plugins. This plugin
will report back shortcut keys that are mapped to more than one
package. This does not guarantee that the listed plugins are
necessarily in conflict, as details, such as context, are ignored.
This is simply a tool to help assist what plugins may be conflicting.

How to disable autocompletion for quotation marks when writing HTML attributes in PhpStorm?

I'm new to PhpStorm and I'm loving it, but can't find how to disable the autocompletion of double quotation marks when I write HTML tags' attributes. I'm used to not put them and it's very annoying for me.
In PhpStorm v7.0 it is not possible.
But it is fixed for v7.1 -- http://youtrack.jetbrains.com/issue/IDEA-113332
Option "Automatically add quotes for attribute value" added to IDE
"Settings | Editor | Smart Keys".
Either wait for v7.1 to be released .. or try EAP build.
Note that the setting has in versions > 7.1 been moved to:
Settings -> Editor -> General -> "Smart Keys".
Here you can disable them from being added after attributes equal sign.
You can also disable them so they don't automatically close.
As of 2021 this option has been renamed to Insert pair quote the path to access it remains Editor => General => Smart Keys