Basically when I open a file on VScode, a new one or one that I already have, it splits the editor into two, but one half is blank, almost like it was a preview because as I scroll down the code, it follows, but empty....
This "preview blank space" occupies half the screen and it's really bothering me... Could you please help? I think it's a command i have to execute because I've tried to reset the settings and even uninstall the VS code and it stays the same.
It doesn't have any close options (nor the right or left button of the mouse) and I can't move it anywhere (nor open a file on it). Also, I don't think it's editor split because I already did and undo that and it doesn't solve
If anyone knows how to fix it, I would really appreciate because I can't find a solution anywhere and I'm desperate..
Related
I'm using pyton with VSC and ran into a problem while watching a tutorial; when highlighting a number in brackets, the data type doesn't show up, while it does in the tutorial. IE: when higlighting 4.5 in
print(4.5), it should say 4.5: float in a popup, but that doesn't happen. Can anybody help me?
Visual Studio Code does not have automatic intellisense, you need to download a language specific extention to use it.
Steps to download:
open the extentions menu located on the left toolbar (ctrl-shift-x).
search for python.
click install on the top result.
(optional) restart VSC, I don't know if it is necessary, but better safe then sorry.
I hope this fixes your problem :) .
Edit: I just checked, and after installing the extention will say something along the lines of 'reload to enable extention', if it does not, it doesn't need it. Otherwise, just click the text that says that.
Sometimes when I'm editing python code in Jupyter Notebook, an underline abruptly appears.
I'm trying to edit the code anyway, then the underlined code is deleted when I click it or try to make a selection of some part of the code with Shift button on the keyboard or dragging of the mouse. I tried Ctrl+A to select and copy the whole code but Ctrl+A deleted the whole code.
Actually I don't know what is happening. I don't know exactly how I created the underline or how I deleted the underlined code, hence, I cannot prevent it from happening.
I'm new to Python and Jupyter and trying to use it.
But this has already happened 3-4 times. Please help me.
I had the same issue today and I didn't know why, that's the reason I find this post.
However, I was able to recover with the following method:
1, hold the Crtl + z, not the single click, and the deleted content will be back.
2, once you got everything deleted back, save the notebook and reopen it.
I had this little problem that made me crazy for a while, until I ran into the solution by chance, so even if it'is a trivial issue I want to share it.
Just click on the left side of the name of the file, on its tab, in the tabs bar. It's like a hidden button. Check the pictureHope it will be useful to somebody
So I'm using Spyder as my Python IDE. It has a great feature which are hints, f.e when I type numpy.arange( it shows me, that I need to insert stop, start, step etc. But it appears on screen, and disappears after like 2-3s, and most of the times I don't manage to read the whole thing, but anyways I would still like to see it, just to think about what should I type. So is there a way to extend the timeout of those hints, or make them stay there until f.e I close the parentheses?
P.S Am I having delusions, or is IPython interpreter much faster than simple Python command line interpreter?
P.S2 Is there a way, to make Spyder do auto-indentation (f.e after going to a new line inside of a function?)
FryninoS,
If you put your mouse over the information box it will stay open until you move the mouse off the box.
Austin.
I'm coming to PyCharm from Eclipse, and something that is annoying me is how I switch between open files in the editor.
In Eclipse, I had a hotkey set up to open the previous editor. A menu would appear with the files in order of most-to-least recently viewed. If I hit the key once quickly, it would switch to the last file viewed. Whatever I had been working on recently would always be readily available.
In PyCharm, the files are listed in the editor in seemingly random order. Control+left (or right) takes you to the next file in the listing, which may be near a file unrelated in any way. I can use the mouse to select a file, but I'm not used to this, and it makes me stop and think about what the file name was, what module it was in, etc.
Natural, quick, efficient, minimum of thought -- this is what I'm looking for in navigating between open files in the PyCharm editor. Does anyone know of a way I can achieve this?
Thanks!
Ctrl-Tab switches in most-recently-used order (like Alt-Tab for the desktop). Ctrl-E will show recent files.
You should look at Help > Default Keymap Reference, under the navigation heading, for more helpful shortcuts.