Reset default settings in WebStorm - webstorm

I have applied this theme to WebStorm, but I do not like it.
How can I revert to WebStorm's default setting?

Depending on what OS you are on, you should be able to remove the config file and WebStorm will recreate it.
Normally, there are .idea folders as #camden_kid said.
https://www.jetbrains.com/help/webstorm/2016.1/project-and-ide-settings.html
Windows
<User home>\.WebStormXX\config that contains user-specific settings.
<User home> in WindowsXP is C:\Documents and Settings\<User name>\;
in Windows Vista it is C:\Users\<User name>\
Linux
/.WebStormXX/config that contains user-specific settings
Mac
~/Library/Preferences/WebStormXX contains the rest of the configuration settings.
You might be able to just swap theme depending on how destructive the theme files were.
https://www.jetbrains.com/help/webstorm/2016.1/appearance.html
https://stackoverflow.com/a/13505114/878344

Just disable (or better -- uninstall) that plugin -- that's it.
Settings/Preferences | Plugins
Find that plugin (Material Theme UI) and click "Uninstall"
Close Settings/Preferences window by clicking OK button
Restart IDE
Now you can change GUI Theme and Editor Color Schema separately

Directories used by the IDE to store settings, caches, plugins and logs:
https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs

On macOS Mojave, I had to go to
/Users/loggedInUser/Library/preferences/WebStorm2019.2/
and delete the colors and options folders. That did the trick.

Uninstalling the previous used Material UI Theme plugin didn't help completely for me, because some colors were still overwritten.
After deleting the "colors" folder inside the config folder of my WebStorm installation directory, the default theme was reset completely.

To reset to default settings, first close webstorm and delete configurations e.g:
$ rm -rf ~/.config/JetBrains/WebStorm2021.3/
Then start webstorm again.

Related

How do I open WebStorm from terminal?

I've looked around but I've only found answers for past versions. I have a new version of WebStorm and I want to open my projects from the command line, but wstorm . and webstorm . doesn't seem to work.
I've tried going to Tools > Create Command Line Launcher... and I get this:
I go to ToolBox's WebStorm Settings and I'm met with this:
Generate shell scripts is turned on, but the but the commands still do not work in my terminal.
Am I missing something? Am I supposed to add in a Shell scripts location? I'm not entirely sure I understand.
It's actually very easy. First you open up Webstorm, and press SHIFT twice. This will bring up a search box, where you type: Create Command Line Launcher. You will see a search result from Tools will be highlighted, click on it, and it will suggest the default path. Just click on Ok. Your command line launcher is now ready, so you can open terminal, cd to your project root folder, and type webstorm ./ to launch webstorm.
If the Create Command Line Launcher option is not working, try the following:
If you are on MacOS, try adding the path as instructed in their official page. And if you are on Linux, just uninstall the current version and reinstall as a snap package using sudo snap install webstorm --classic. This way, you can launch it from the terminal just by typing webstorm
After opening a ticket with Jetbrains support, the default path is /usr/local/bin. Adding this worked.
You can use open-ide tool. It allows you to define all of your editors and to open any folder with your editor straight from terminal

GNAT Programming Studio: New project location browser freezes after attempting to make a bookmark

I just installed GPS on Windows 10
In order to make browsing to my source file folder less annoying, I tried adding it as a bookmark in the folder browser accessed from the new project window.
When I right clicked on the folder and added it as a bookmark, the window blanked and froze. Now, every time I open the folder browser, it blanks and freezes. I uninstalled and reinstalled GPS, but it didn't help.
I can open projects, since it uses the default windows folder browser, and I can create projects if I type the folder path manually.
How can I fix GPS to make the folder browser not freeze?
I resolved the issue with help from Adacore customer support by removing the AppData\local\gtk-3.0\bookmarks file.

WebStorm slow and freezing unknown cause

I use WebStorm primarially to write code for my Express web server. WebStorm hangs when I am moving between lines or entering characters. It all started when I cloned and opened a new project that contained Cordova/Ionic stuff and let the IDE install some plugins for that.
Now I have no idea what plugins I installed or settings I changed, but I have tried EVERYTHING including uninstalling Node JS, reinstalling the latest WebStorm, clearing project IDEA folder, etc.
#matmo's answer worked well for me. I'm using Webstorm for an Ionic2 project and I hadn't excluded much. For me I excluded all but the ./src folder and the files in the root path of the project.
No more freezing (or rage).
#matmo's also worked for me, however I noticed the real difference when I marked the www folder as excluded. Webstorm would freeze for a fraction of a second even clicking between each folder to mark them as excluded. Once I excluded the www I was free from the aggravating freeze.
I am using Webstorm 2017.1.4 and Ionic 3.8.1 on a 2016 Macbook Pro 13.

JetBrains WebStorm drag reference to html

I have enabled editor setting "Enable Drag n Drop Functionality". And I want to select a css file from project window and drag into index.html file like this: <link href="app/app.css"/>
But when I drag and drop to index html file not working. It opens file in a new tab.
Such feature was added just recently and is available since WebStorm 2016.2 only (sort of v13).
2016.2 version is not out yet (in EAP stage at the moment -- Early Access Program) but you can try latest EAP build right now if so desired.
You can read more about this feature as well as get the link for EAP build here: https://blog.jetbrains.com/webstorm/2016/05/webstorm-2016-2-eap-162-232/

Run as administrator not showing in start menu

Background:
My C++ application developed by VS2008 and use the VS setup project to create installer for that. After installation it will create two shortcuts to application. one is in user desktop and second one is in start menu. Application(myApp.exe) installed to the Program files directory.
Question: If I right click on the icons in the start menu, there is a option Run as Administrator for most of them. But if I right click on the shortcut that related to my application. It doesn't show Run as Administrator. How to fix this?
Edit: But if i right click on the myApp.exe in the Program files, it shows "Run as Administrator".
Set your embedded manifest to require administrator. On the project property page:
...on the (highlighted) UAC Execution Level, change asInvoker to requireAdministrator. Build your project to embed the new manifest, and it should be ready to do its thing.
Oh -- I didn't think to do it here, but in the Configuration drop-down, you probably want to select All Configurations, instead of the (default) Active configuration that's selected in the screen shot. Gets seriously annoying -- you think you've got things fixed, then you change to "Release" and a bunch of stuff suddenly breaks, and you have to go through figuring out what you'd changed, and edit those changes into the Release configuration as well.
In manifest file there is option "requestedExecutionLevel" and "UIAccess" which will manage it.
I found the answer for this after so much testing and searching. So here I mention it for use of any one.
Windows only shows Run as Administrator in the context menu for that shortcuts those are directly targeting to some exe file.
If you use VS deployment (setup) project to create your installation with desktop and start menu shortcuts. Those shortcuts not targeting to exe (Application.exe) file.
Instead of that shortcuts targeting to application folder (MS office 2007 also same). This is called installation-on-demand and advertisement. Here is the more details.
This will help your application to repair from file missing (pray Google for more).
So we have to disable this feature if you want to target your shortcuts directly to exe file.
For this you can use command prompt or some tool. here is how to do it.
Nirmally windows installer having a exe and a msi.
These setting are stored at at msi generated with setup file.
So You have to alter the file and add the entry DISABLEADVTSHORTCUTS=1 to property table.
Using Command prompt:
msiexec /i <path to your msi> DISABLEADVTSHORTCUTS=1
Using Orca Tool:(Meny other tools also there)
Download Orca tool from here and install it.
Right click your *.msi file and click edit with orca.
Go to property table and add new entry DISABLEADVTSHORTCUTS and value is 1 , save and close.
Now you done.
Install using setup.exe file and check the target of the shortcuts. those are directly target to the exe file in application folder.
Now if you right click on the shortcuts those shows Run as Administrator option in context menu.
Note: Doing this you will gain Run as Administrator but scarify the windows auto repair capability.