JetBrains WebStorm drag reference to html - webstorm

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/

Related

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.

No plist file available in Xcode C++ App

I'm new to Xcode. I am using version 8.3.3 on MacOS 10.12.5 (Sierra) to develop an experimental command line application. I want to set up a version number for the application. According to instructions in Apple documentation and many other places I should be able to do this under the General tab for the project. However, under the General tab Xcode does not seem to be able to find a plist file and instead
displays a 'Choose info.plist File' button.
When I click the click the button Xcode displays a selection dialog containing a project icon, but no sign of an info.plist file and no obvious way to navigate to or create one.
I have tried the technique described at Youtube (v=gYh4_80jHDk: sorry -- can't post it as a link as I'm also new to Stack Overflow!) but to no avail. It just gives me another 'Choose info.plist File' button.
I expect I'm missing something obvious, but it's not obvious to me. I'd be grateful for any help!
Many thanks

Reset default settings in 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.

Netbeans 7 and XSLT support

Does anyone knows how to enable XSLT support, auto-complete in particular, in Netbeans 7?
Every time I'm opening a new tag within my style, the auto-complete pop-up appears, and shows "downloading...". After few seconds it disappears and that's all.
Regards,
Radek
Answer from here:
https://blogs.oracle.com/geertjan/entry/xml_schema_editor_in_netbeans
Go to Tools | Plugins in NetBeans IDE 7.0.1. In the Settings tab, register this update center:
http://deadlock.netbeans.org/hudson/job/xml/lastSuccessfulBuild/artifact/build/updates/updates.xml
Now go to the Available Plugins tab and search for XML Tools. Install that plugin.
Go to the New File dialog and pick an XML schema file

Implementing Chrome style menu items in Qt

If you take a look at Google Chrome's configuration menu you will see several neat UI features. Specifically the edit and zoom menu items. How can I implement a similar version of Chromes zoom menu item inside Qt 4.7.1.
Since Chrome is based on the open source project Chromium you can download the source code and see exactly how Google have done it.
Chromium is made on VC++
link here -> http://cotsog.wordpress.com/2009/11/08/how-to-compile-google-chrome-with-visual-c-2008-express-edition/