Julia Plot Pane - visual-studio-code

VSCode used to create plots from Plots.jl in Julia into a separate pane. For some reason it now plots in the same pane as the editor and covers the code making it difficult to tie the code and the graph together. What setting did I inadvertently change (I didn't think I changed any of them honestly) that results in the change of VS Code's behavior?

Tried the #antonio Parrella 's suggestion but it still doesn't work. Julia on VS Code is still opening a separate pane for the plot that covers the editor rather than displaying it side by side with the editor.
Example of code :
using Plots, Random
plot(1:5, rand(5))
Julia VS Code Version:
Version: 1.63.2 (user setup)
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:40:02.816Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000

Settings(Ctrl + ,) > Workbench > Editor: Reveal If Open.
Then tick the box. Vscode turned this off by defult in the new update.

Related

How to toggle all breakpoints in VS Code?

I am looking for a way to assign a keyboard shortcut that would toggle all breakpoints in VS Code.
The same key should either disable them all or enable them all back, i.e. it is not about only disabling or only enabling them via two different shortcuts.
I cannot find any action responsible for that. There are only disableAllBreakpoints, enableAllBreakpoints, removeAllBreakpoints and reapplyBreakpointsAction.
The last one sounds somewhat promising but I am not sure if this is the one that I am looking for? It does not toggle them so perhaps this is not it?
Essentially, I am looking for a toggleAllBreakpoints but I am not sure if it exists.
My VS Code version is:
Version: 1.63.0
Commit: 7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
Actually, I have found it already - that can be achieved with toggleBreakpointsActivatedAction.

Syntax errors, but no errors and code runs

Every once in a while my Visual Studio Code starts highlighting in Jupyter Notebooks syntax errors on correct code, that, indeed, runs just fine.
Example:
If I change the indentation and put everything where it was, I got the same code with different errors:
Restarting the kernel does not have any effects: as soon as the cell is run, the errors appear again. Restarting VSC solves the problem, but it is a pain in the neck to restart it every time this happens.
This is too strange to be a bug, may be it is related to some plugins I am using. Before starting to look for the responsible, is there anyone here who had and solved a similar problem?
My VSC:
Version: 1.63.2 (user setup)
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:40:02.816Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043

VSCode: 3 dots popping up and disappearing in editor

I have VSCode installed with
Version: 1.52.0-insider (user setup)
Commit: 0a80aacc7be1ab03ec0f94b8ac1a84949a83f35d
Date: 2020-11-26T07:36:22.965Z
Electron: 11.0.2
Chrome: 87.0.4280.63
Node.js: 12.18.3
V8: 8.7.220.24-electron.0
OS: Windows_NT x64 10.0.19042
I also installed C/C++ for Visual Studio Code 1.1.2.
Then created some hpp file.
Also when hitting enter on some random line, 3 dots appear on some strange empty lines.
After 2 seconds these dots and lines disappear again.
This makes working in the editor really hard when lines come and go.
Here is a screenshot:
Any idea how to disable these popping up dots?
This was happening to me because of the GitLens extension. I uninstalled it and now the issue is gone. It seems they have open issues for this issue but they are not addressed (as of today)
https://github.com/microsoft/vscode/issues/111472
https://github.com/gitkraken/vscode-gitlens/issues/1312

Diff syntax highlighting in Visual Studio Code?

Is there an extension or setting, which makes a file with a .diff extension, opened in VS Code, display added lines in green and deleted lines in red? Currently, when I open a diff file, it displays added and deleted lines in the same color. I'm using VS Code Version: 1.37.1.
P.S. I tried the diff extension, but it doesn't work for me.
P.P.S. I tried reloading VS Code with extensions disabled and the highlighting is still broken:
I observed that .diff files are highlighted by default(without requiring any extensions), it's just that certain themes do not work well.
VS Code currently have this feature, if you get the .diff extension the sintax highlight performs correctly like git bash.
My VS Code is:
Version: 1.47.2 (system setup)
Commit: 17299e413d5590b14ab0340ea477cdd86ff13daf
Date: 2020-07-15T18:22:06.216Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 6.3.9600

Include comments in search

When searching in VS Code (PowerShell), I would like to include my comments (#, <# #>) in the result. (due to language used in comments)
have tried to find a setting for this by searching this forum & Google without luck.
Can anyone point me in the right direction?
VS Code:
Version: 1.26.1
Commit: 493869ee8e8a846b0855873886fc79d480d342de
Date: 2018-08-16T18:38:57.434Z
Electron: 2.0.5
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
By default if i search something on visual studio code, inside a powershell script which contains comments as you said, it does show up during the search itself.