Pycharm (Jetbrains): Disable non-project files access dialog - phpstorm

This window pops up everytime I run pycharm and try to edit something (auto-loading the default project):
https://www.jetbrains.com/help/idea/2016.1/non-project-files-access-dialog.html?origin=old_help
How do I disable it?

Just remove the .idea folder and reopen your project. It worked for me.

I had a similar problem with Phpstorm (also built by Jetbrains).
To fix, search plugin repositories inside your IDE for 'Non Project Files Unlocker' (In Phpstorm you go to Settings->plugins->browse repositories). Install it, and that popup will never show again!

Related

Setting up Prettier on PhpStorm 2019.1.3

I have Prettier enabled in the plugins. The question is simply, where are these settings? Folder permissions or what? The picture where they are showing is from the intellij-support website. The picture with the question mark is with the settings on my PhpStorm
A possibility to run Prettier on Save has been introduced in PhpStorm 2020.1; if upgrading the IDE is not an option for you, I can only suggest setting it up as a file watcher in in Preferences | Tools | File Watchers and make sure that Auto-save edited files to trigger the watcher (https://www.jetbrains.com/help/webstorm/2019.1/using-file-watchers.html?section=Windows%20or%20Linux#ws_filewatcher_advanced_options) is disabled
So, basically, if you want to use Prettier with PhpStorm 2019.1.3 you need to install it with npm like this jetbrains.com/help/webstorm/2019.1/prettier.html and setup the configuration of it in the package.json under "prettier" key. Then you have to right-click on the file and select "Reformat with prettier". Maybe you can set hotkey for Prettier somewhere, the default ones do not work for me for some reason. If you want your code to be automatically formatted on save you need to install this plugin: https://plugins.jetbrains.com/plugin/7642-save-actions/versions "Save Actions". I installed 2.2.0 because it has support for 2018+.Then - because I couldn't find the place where you can change default formatting tool to "Prettier" you can setup the configuration under Settings->Editor->Code Style->choose the language you desire and then configure it. Could not find a way to setup prettier without json config or after setting it up to make it work on "Save" action. Answering this just because it might help somebody somewhere.

Atom packages not working even when enabled

I installed all Atom packages mentioned on this link.
atom-beautify
atom-ternjs
autoclose-html
emmet
csslint
pigments
language-ejs
atom-html-preview
Sublime-Style-Column-Selection
linter-eslint
I made an file index.html. But whenever I type something it doesn't show any suggestions. Also when I type html and hit tab or enter it doesn't show boilerplate code.
I tried disabling and then enabling, restarting Atom as well as Laptop but it didn't worked. I am working on Ubuntu 18.04.5 LTS.
How to resolve this ?
Try to create that new file with extension .html U must have not used the .html extension

VSCode - You don't have an extension for debugging HTML error

I worked a lot with Visual Studio Code, but since yesterday on all my devices it says: You don't have an extension for debugging HTML.
After a few tries I deleted VSCode and re-installed it. It worked right but as soon that I close VSCode and re-open it, the error keeps showing.
I've noticed that when I close it there is a tiny update box. I've reinstalled it a few times but it keeps happening.
Go to RUN and select ADD Configuration...
After select your browser and bingo!
It seems launch.json file is missing. Go to Run and Debug and click Create a launch.json.
Using launch.json didn't work for my html file. All I did was paste the path of the file into my browser and it worked fine for me.

How to enable quick edits from file manager in PhpStorm after install

This post shows how to use quick edits, but how to open it from the system file manager by default? When I do open with in the context dialogue and then open it with phpstorm.exe, my PC ignores it and just goes back to Adobe Edge Code.
I'm using Windows 7 64 bit and PhpStorm 8.0.2
Thanks
I looked at this: http://msdn.microsoft.com/en-us/library/windows/desktop/cc144154(v=vs.85).aspx
But all I had to do was go the file properties > open with > browse.
No registry hacks!
However, this doesn't open in quick edit mode, but somewhat works. I guess it's just the way it is after reading this
I guess this should've been in SuperUser, but I thought it was something in PhpStorm that was the solution.

PhpStorm File open issue

I new to using PhpStorm, I am trying to figure out 2 things which are giving me issues:
When i have the phpstorm already open and i use windows explorer to open a php file i get a cannot find file error. If I close PhpStorm and try to open, it works fine. Any reason why it happens do I need to change any settings?
How do I view projects I created using phpstorm any feature similar to eclipse so I can switch and back between multiple projects.
Thanks in advance.
It's a bug.
PhpStorm doesn't have workspaces concept, File | Reopen recent project is what you can use now.