I recently updated python to the latest version 3.10.5 on my Windows 10 desktop using pyenv-win. Everything went fine, except when I launched jupyter lab and found out I can't access the JSON settings editor anymore. I was following the same procedure as always:
Launching jupyterlab from the terminal using the command jupyter lab
Going to the settings menu and choosing Advanced Settings Editor
The settings editor GUI is opened as always and I can change settings through the UI, but I prefer using the JSON settings file.
On the top right of the settings editor there is a button to open the JSON Settings Editor. I click it and nothing happens. This button doesn't do anything. it used to open a text editor with all the JSON settings files. Now it simply does nothing.
I tried reinstalling jupyter lab completly, including removing every custom extension and reseting all setting to the default, and it didn't help. The JSON Settings Editor button still doesn't do anything.
Can anyone explain to me why this happens and how I can fix this?
This is a bug in the latest JupyterLab release v3.4.4. I have reproduced it on 3.4.4 and opened a pull request to fix it: jupyterlab#12892. The fix should be included in the next patch release. In the meantime you can downgrade to 3.4.3 which is not affected.
Thank you for highlighting it (next time if it looks like a bug feel welcome to report directly at https://github.com/jupyterlab/jupyterlab/issues).
Edit: JupyterLab 3.4.5 is now released. Please upgrade using your package manager to get the fix.
I have this problem with Visual Studio Code for Windows 10: I can't see the NPM scripts in the explorer sidebar.
I deleted all the extensions, uninstalled VS Code, and installed the latest version of VS Code again with no custom options and no extensions, but it didn't solve my problem; the NPM scripts menu does not appear.
How could I fix this so that the NPM Scripts menu option is shown again?
Few places to look for the NPM-Scripts explorer :
The npm-scripts explorer can be enabled or disabled with the below settings, in VSCode's settings.json:
"npm.enableScriptExplorer": false
Default value is false, change to true and it should work. Try restarting VSCode for changes to take effect(although a restart is not often required) if it doesn't show up.
Another very hard to notice place is the three dots ... in the top right corner of your project explorer (verify if NPM scripts is checked). This is something which I had experienced personally for a different extension.
Open "File > Preferences > Settings"
Search "npm script"
Toggle "Npm: Enable Script Explorer"
Close VSCode; reopen
Version 1.59.1
Go to View -> Open View and type: npm scripts:
Appreciate I may be a bit late to answer this question. For me, this was due to npm scripts not being selected to display in explorer. Once I had selected the box, the npm scripts window was available to view.
Hopefully, this has just been fixed - see https://github.com/microsoft/vscode/issues/120279#event-4631666095 and https://github.com/microsoft/vscode/issues/120279#issuecomment-824950294 seeking test verification.
It is in the Insiders now and in Stable early May, 2021. It fixed it for me.
View/Open View...
Type NPM
Click on NPM Scripts
If it still isn't working, see https://github.com/microsoft/vscode/issues/119868
Is your package.json at the root level? Does it make any difference if you open your package.json first, and then check for the view? Or try opening another .json file (or even the Release Notes has been reported as working) and then do a Reload. Otherwise, add your info to the issue.
Work around: If I leave an editor tab open with my package.json (I have one in the root, and in two other places), close and re-open VSC, then it seems to 'find' the NPM View.
TL;DR;
My VSC (1.55.2) is inconsistently showing / not showing the NPM View.
When it starts without the view, I cannot use View->Open "npm".
No option in Explorer options (...)
When it starts with the view, View->Open has a result for "npm".
Has option in Explorer options (...)
Bug report here: https://github.com/microsoft/vscode/issues/120279
Try to delete package-lock.json and restart VSCode.
In my case it worked.
It happens to me sometimes when I open VSCODE.
Whenever it happens I simply load a package.json file.
The NPM SCRIPTS menu still appears when I close the package.json file.
If that doesn't do the trick, try installing NPM-Scripts extension.
If it worked normally before but now it does not, and you have the extension installed and enabled. Then all you have to do is open your package.json file and it will be available again.
I guess this weird behavior happens when you disable all your extensions or may happen if you're installing/removing extensions from a remote container
You can install NPM-Scripts extension which does the same as npm scripts functionality which was build into vscode.
ESLint is not working on my React project, and it keep showing below error even I reinstall vs code(version:1.52.1)
But I have another computer without any problem.
I was wondering if there are any extensions interfere with each other,
so I removed some extensions and still not working.
Here are the rest.
Open Code > Preferences > Settings
Search keyword "eslint", and enable "Always show the ESlint status bar item."
And make sure ESlint is running at bottom right.
My issue was that the settings file of the project itself (.vscode/settings.json) had the setting "eslint.enable": false, in it, for some reason. Removing that fixed the issue for me.
I am running Visual Studio Code v1.25.1 on 64-bit Ubuntu. I am trying to set the add an image file to a visual studio project and set its properties to be always copied.
However, I do not
See Tools or Options in my main menu bar
Have any way of creating a project
Right clicking on a file does not show an option to edit properties.
What am I missing? Previous answers have suggested using Tools->Customize or Views-> Other Views. AS I mentioned, I do not see a Tools option and View does not have an Other Views sub-option.
Thanks.
There is a config file that you can manually manipulate, however maybe this post will help you VS Code How to Restore Menu Bar
For some reason Liferay Developer Studio (Eclipse-based) does not show the File menu:
As you can see, just a 1-pixel-high menu appears.
For comparizon, the Edit menu shows correctly:
In these condition, how can I invoke the Import item which is supposed to be found under New?
Is there any shortcut?
Or maybe a way to call actions via command line or IPC or something else?
I found another solution.
On liferay studio 2.0.0, there is a file named fix-menu.sh that has a bug, but changing his content for this:
!/bin/sh
UBUNTU_MENUPROXY=0 && ./DeveloperStudio
solve the problem too.
Regards.
I have found a solution:
Instead of running ./LiferayDeveloperStudio, run ./fix-menu.sh
This way, the menu appears correctly:
What it does is set an environment variable like this then call LiferayDeveloperStudio:
env UBUNTU_MENUPROXY=0 && ./LiferayDeveloperStudio