When I press Cmd + / then it looks like this.
Is there any way to comment all the block that I want to make it as a comment by one shortcut in WebStorm?
I heard VS Code can manage this problem. I just want to know if there is way to figure this out in WebStorm.
No; please follow WEB-27157 for updates
Related
I can't find any shortcut in the key-bindings list that will display this pop-up code actions menu. Is this strictly a click action only? Are there any potential workarounds for this?
I'm coming from vscode and I really loved being able to hit a keybinding and bring up all my code actions.
Thank you in advance!
I am not pretty sure what is your intend but i would rather use to this one for your case,
command click on code as jump to definition :)
what you do in Vscode Ctrl+Click is equal to cmd+click in Xcode
I am having difficulty getting Ctrl+V to paste code in CLion (I am using version 1.1.1 for Windows). When I try to paste code copied using Ctrl+C from e.g. a website or another program, it only seems to work occasionally. Usually it pastes a piece of text that was not the most recently copied.
I use other JetBrains IDEs (IntelliJ IDEA, PyCharm) and have never had any problems with something so basic.
Has anybody else encountered this problem and found a solution to it?
I had the same problem and this is the way I fixed it:
Ctrl+Shift+V (brings up the clipboard history)
Delete all entries
Recopy what you wanted to paste from outside CLion
Try pasting again
Let me know if it didn't work for you so I can see if there is some step you are missing. Hope this helps!
I had the same problem and this is the way I fixed it:
Go to: Settings > plugins and disable 'ideaVim' plugin
In VS2010 and VS2012 at least, Window.CloseToolWindow would do just that. If it was invoked while a text file had focus, it did nothing. It seems that in VS2013 it will now close the text file. This sadly breaks my workflow in an AutoHotkey macro. Does anyone have any idea of a Visual Studio command that would have the old behavior? One default shortcut is Shift + Esc if you want to try this out easily.
Thanks so much for your help!
What's even more strange is the way Shift+Esc "closes" the text file. It just hides it, but doesn't close it as the default Ctrl+F4 does.
It sadly seems like a bug to me.
It's not an answer, but one workaround that will work in some, but certainly not all, situations is that with ReSharper, ctrl+shift+F4 will close a ReSharper tool window tab. If there is only one tab, it will close the window and also exhibits the correct behavior of not closing a code editor window. I'm sorry I don't have a better answer. I too lament this bug and want the real fix from M$.
I'm looking for a way to completely disable the copy/paste functionality in Visual Studio (2005 if it matters). The reason behind this request is that I want to prevent myself from doing too much copy/paste while coding.
Thanks to all for your answers!
No. Use self-discipline instead.
Yes, there is a way.
Download AutoHotKey. Save this as GoAwayN00b.ahk and double click it.
#ifWinActive, ahk_class wndclass_desked_gsk
^c::
^v:: MsgBox Go away n00b !
Additionally, you may want to provide visualisation for xtra stimulation. Save this picture and display it on hotkey press (left for exercise):
alt text http://images.paraorkut.com/img/funnypics/images/g/go_away_noob-12269.jpg
BTW, copy/paste + CLCL = FTW. I don't use VS without it.
EDIT:
Alternativelly, you can Customize Keyboard (right click toolbar -> Customize->Keyboard) and delete Edit.Copy and Edit.Paste hotkies.
However, above script works with any VS and on any computer while this solution needs to be setup individually.
The other day my daughter asked if I had a duller saw so she wouldn't cut herself as easily while pruning some bushes. Of course now it takes longer to prune the bushes...
As asked: The other day my daughter asked if I had a duller saw so she wouldn't cut herself as easily while pruning some bushes. Of course now it takes longer to prune the bushes... Refactored.
For dull saw she asked
No injury while pruning
Free time now all gone
I think you missed the point of the article but in you really want to, here are some resources for battle copypasta.
As Jeff lines out in his current blog entry, copy&paste itself is not the problem, but how you use it. As copy&paste can also be used to speed up "typing"/editing, you shouldn't disable it.
Prise your C button out of the keyboard.
Copy and paste is a valuable tool. You should be careful about what you copy and paste, but you don't need to disable it. Just watch what you're doing.
Don't forget to disable CTRL-drag as well!
Maybe you can find some sort of util that allows you to global remap key combinations. Then all you have to do is re-map the copy/paste combinations do to something else. Just an idea.
Although I think you are crazy for wanting to do it. :)
Write a small service program that will monitor clipboard changes and upon notification replace the clipboard text with "Content protection from lazy asses".
I'm trying to use the simple pre-installed code snippets in VS2008. I can insert them by right-clicking and using Insert Snippet..., but I can't get them to work while typing. If I start to type "for", I get the Intellisense list, and I see an entry for the code snippet, but hitting Tab or Enter just inserts the word for, not the snippet.
What am I doing wrong here?
try hitting tab once more..
Or in Emacs style
ctrl-k ctrl-x
It could be your using any kind of VPC software that is intercepting your tab commands and inject them into VPC with a wrong code. I havent found a solution yet though.
Which language you are using?
C++ snippets don't work in VS2008. MS took that feature out :(