I'm running Pharo 4.0 on top Fedora 21. When I type double quotes I'm getting this:
˙˙
Instead of
"
How to work around this problem?
Thanks in advance!
Edit:
By the way, typing twice single quotes do not work.
OK... I'm really up to put comments in my code...
Looking at my new keyboard's layout:
we can see that to get the proper double quotes I actually need to press Shift and ¨ keys while having the Super R (ALT GR) key pressed down.
It was supposed to be the same for others applications, such as Firefox, OpenOffice Writer, but seems they were designed to leave keyboard interactions up to the operating system to supply them with processed keyboard characters.
Anyway, there's nothing wrong with Pharo. It's actually interpreting the keyboard as it is.
Thanks for the comments!
Related
This is a silly question and I apologize but I can not find the solution ANYwhere and I can't code with this situation but at the moment, when I press Alt + 7 or any number it opens some window in IntelliJ like the project structure or something like that, when before it always typed the curly brackets or square brackets. I don't know what caused this change as I didn't mess with any settings so help would be greatly appreciated.
Um so apparently switching languages back and forth eventually fixes the problem
As best as I can tell, Visual Studio 2019 completely removed the ability to jump to matching brace.
I tried the hotkey I've been using for years (Ctrl-]) and it changes indent instead (why would I need that? This is C#, not Python). I also tried looking up the KeyMap (Environment->Keyboard) setting and searching for match, and there was nothing relevant. As far as I can tell, Microsoft has completely removed this feature, but I wanted to confirm that Fattie and I are not the only ones with this problem.
(for reference, here is the question for VS 2008 whose answer no longer works because the default keyboard shortcut has changed.)
EDIT: The setting still exists, but has been renamed to not contain the all-important keyword "match". See accepted answer.
The control is still there.
Go to Tools -> Options -> Environment -> Keyboard and lookup Edit.GotoBrace to see the current key combination for this feature:
You can set the key combination from the pictured menu.
just for the ones among us with non-us keyboard. On my keyboard, I need to press 'AltGr' to access "]". Therefore Ctrl+] doesn't work. Interestingly, VS has already compensated for that problem and changed the hotkey to Ctrl+`, which works nicely for me. You just need to know the hotkey has changed (depending on your keyboard).
Hope this saved a few minutes of your time ;)
Regards,
Eleusius.
On a Finnish/Swedish keyboard the Edit.GotoBrace field is mapped to Ctrl+Å
I'm starting to play with Colaboratory but I've noticed that shift-tab doesn't pop up Docstrings for functions as it does in Jupyter.
Is this functionality absent or just accessed some other way?
This is what helped me e.g.
Image( and then CTRL+Shift+Space bar
do it with only one bracket.
Shift-tab dedents. To see contextual help inline, hit tab after an open parens, e.g.,
import os
os.open(
Or, execute the cell with a trailing ? and help will open in the bottom pane, e.g,.
import os
os.open?
Ctrl + Space helped me. Both for docstring and autocomplete.
As of 2020-03-20 on Chrome, if you just mouse over the function, a small pop-up shows the input parameters.
As you start typing them auto completion is offered.
And if you press Ctrl while hovering, the function becomes a link that when clicked opens up the documentation of the function.
Autocomplete works with Ctrl+Space or simply Tab depending on situation.
Note: It must know the type of the object it is working with. So if you do data.transform() and data has no value yet, Colab won't know what to display because .transform() depends on what you apply it to. You can select the line(s) where data is created and run only those with Ctrl+Shift+Enter (run selected lines only).
If you're in a parenthesis or between arguments (eg after a comma), tab will show you the docstring -- so if you are typing something like print('hello', sep=''), then tab after the paren or between the comma and the next arg will show you the docstring.
Hope that it helped.
space works for me. If you've closed a pop-up docstring (e.g with the esc key), then you can reopen it by pressing space.
This will also input a space, so you can remove it with backspace but the docstring will remain in view. As usual, which docstring you get will depend on where your caret is.
In 2022 getting detailed doc string shortcut is definitely Ctrl+Space
When working with IntelliJ on a JavaProject it shows to use alt + enter to import a class for example, but this isnt working anymore. It worked in the past, but something must have changed, -the shortcut is still set,-other shortcut would work- i cant assign alt+enter manually, although if i reset it to default it gets set to it, any ideas how to fix my problem? btw my keyboard layout is german, but i dont think it is the problem because it worked in the past, my os is win 7. edited: when i am working within the IDE and i e.g. write Arrays.toString(a); and didn't import "java.util.Arrays" yet, the IDE says: " ? java.util.Arrays? Alt+Eingabe" (Eingabe = Enter in German) so when i assign a different shortcut it works, but with Alt+Enter it doesnt thanks in advance for any help.
"Well, it means IDE doesn't see the shortcut for some reason. Probably it's already used by some other application or the operating system. – CrazyCoder 25 mins ago "
i closed all applications and it turns out that, Facebook GameRoom, running in the background, somehow is the reason the shortcut doesn't work, i have no idea why, but thats the solution
many thanks to CrazyCoder
It was working earlier but it stopped working due to unknown reason,
One workaround is Try fn+Alt+Enter
I had the same problem
and it turned out to be the keyboard language in Windows, It wasn't english,
so just make sure you are on English
On my side, culprit is some VPN software called PulseSecure
fn + Alt+Enter+Shift worked for me (credits #ketankk).
My problem solved. just try :
LEFT Alt + Enter
LEFT Alt+Enter
Looks like some languages override Right Alt behavior, at least in case of Lithuanian Left Alt is working fine with Lithuanian enabled, Right does not, when switch to English, everything is fine again. Was pulling hair to figure out why out of nowhere it stops working, thanks
In my case hint is showing Alt + Shift + Enter, but Ctrl+Shift+Enter works for some reason oO
In my case, I mapped Alt+Enter to a system shortcut (for expanding the current window) and I forgot. So it might not be another program, but your past self-sabotaging you.
I have the same issue. Alt+Insert not working while I was trying to generate getters/setters for my POJO class.
I just added another shortcut for that "Generate" operation.
If you are using Intellij Idea, you can do that by following steps:
Go to File -> Settings -> Keymap.
On the search bar appeared, search for "Generate", you will find an entry to which assigned shortcut will be Alt+Insert.
Right click on this entry and select 'Add Keyboard shorcut'.
Now, type your own shortcut that you want. In my case, I used Ctrl+Shift+G.
It worked fine and now I am using my new shortcut for Generate operation.
I had the same problem while upgrading to a new IDE version. The cause was a plugin error in new IDE version, I resolved disabling/updating that plugin.
The plus / minus signs are gone to expand / collapse regions. The vertical lines to indicate regions are gone too.
The regions are collapsing and all the commands under edit, outlining work fine.
It's just I have to double click on the collapsed region to expand and there's no way to collapse a region with the mouse. Only the shortcut keys (ctrl m, m) or the menu will do it.
I swear it was right this morning but I did something to mess it up. I can't find any option in tools to fix it either.
UPDATE
Now, some files are doing this and other files (both opened at same time) are not doing it. If anyone can explain, I'm all ears.
Press ctrl+, (control plus semicolon) to open the settings. And type Folding Strategy in the setting's search bar. It is set to auto by default. You can set it to always for the controls to be visible at all times, otherwise, it shows only on mouse over.
This same thing happens to me multiple times a day using VS.NET 2015 Pro version 14.0.24720.00 Update 1. Restarting the IDE always restores normal function for a while but the problem always returns, seemingly at random.
UPDATE:
I tried changing the theme from dark to blue and it restored the outlining. I then changed back to dark from blue and the outlining continued to work normally. Still a pain but definitely a lot faster than restarting the IDE.
It happened with me also. One file was just fine and other file (js) was not. I searched it a lot.
Try selecting a method/if check etc and press ctrl+M+H which is short cut for right click outlining > Hide Selection.
You can do it on the whole document as well.
This might be helpful when working on a file which has too much code in it and you are going through different functions again and again. It is painful with scrolling mouse for so long.
You can use short cut for for moving at the start of the method or at the end of the method with the following :
select parenthesis { start or end } and press ctrl+}
Hope this helps.
It works again.
I closed all windows and reopened my code file.
Now it shows the plus minus glyphs again.
I know this is an old post, but I wanted to share a quick solution. if you right click and hover over 'Outlining' and then click 'Collapse to Definition', the widget comes back. Then just press [ctrl] + z to undo and continue where you left off.
With Golang, if the code has some syntactic mistakes that would prevent it from compiling, the language server cannot decide which parts of the code are collapsible, and which not.
Therefore the solution is either switching to the Folding Strategy in VSCode settings to indentation folding, or fixing the syntactic errors.
Simple solution : CTRL + M + O, then CTRL + Z
Thanks to SparrowEatsHawk