How do I tell PhpStorm to stop open a file with an external editor? - phpstorm

For some reasons, in my current PHP Project in PhpStorm, when I click on one of my file in my project explorer panel, PhpStorm opens it in an external editor. I have others files with the same extension that opens correctly in PhpStorm.
How can I tell PhpStorm to stop doing that ?

Settings/Preferences | Editor | File Types
Find Files Opened in Associated Application entry in the top list
Remove unwanted entry that affects that file from the bottom list (Registered Patterns).

Related

Edit file from Sourcetree in PhpStorm

In Sourcetree you can right click a file (from current commit / branch) to edit, it then opens a window where a script target can be entered. What to fill in there so it opens the PhpStorm editor?
I work with a Mac
Ah.. with the finder click on a file, show info, open with, change all.
Then open in Sourcetree will use that application.

How somehow show which file(s) were active priorly?

Working with PhpStorm 2021.1 I have a lot of files opened and when I open some other file if
there is a way somehow show which file(s) were opened/active priorly?
Thanks!

installing my own Chrome extension

I have created a Chrome Extension. I had it successfully installed but then I uninstalled it. Now I want to re-install it. The directions say to simply drag the extension and drop it on the Chrome Extensions page. I dragged and dropped the .json file onto the Extensions page. I dropped it onto the button that said "Drop to Install". When I dropped the file, the contents of the .json file opened as text in the Chrome tab. It did not prompt me if I wanted to install. Any ideas what I am doing wrong?
Drag and drop a folder that contains all extension files.
Or pack it to the .crx file and drag and drop that file.

manual installation of Web Developer addon in Chrome

There's very little documentation at GitHub:
The extension can be installed in Chrome by loading the unpacked
extension in build/chrome as described in the Chrome documentation.
The extension can be installed in Firefox by installing
web-developer-firefox.xpi like a regular extension or automatically
with ant install.firefox and the Extension Auto-Installer extension.
Anyone knows how to install in Chrome using the GitHub master zip? When I downloaded the master files, I noticed there isn't a build/chrome folder, so maybe this information is out of date.
UPDATE: Using the unpackaged extension method, I get an alert that makes me move several files in order to recreate the file structure specified in manifest.json, but I get stuck with an alert that states:
Default locale was specified, but _loacles subtree is missing.
If you want to load an Extension from git-hub for testing , follow these steps:
Visit chrome://extensions in your browser (or open up the settings menu by clicking the icon to the far right of the Omnibox and select Extensions under the Tools menu to get to the same place).
Ensure that the Developer Mode checkbox in the top right-hand corner is checked.
Click Load unpacked extension… to pop up a file-selection dialog.
Navigate to the directory in which your extension files live(Go to Root Folder of manifest.json file) , and select it.

Package Control - plugin to run file in browser

I am looking plugin to run .html file in browser and also open folder in windows explorer.
The reason is simply. I always start work in the same way: run Sublime Text 2, click 16 times with mouse on folder to open folder with project and run index.html or other. I also need open folder because i copy there from time to time some graphics or other files.
Navigating to files
You can save your workspace as a project in Sublime Text so you don't have to re-navigate to the same files every time.
Open the files you need and lay them out however you like
Go to Project > Save Project As and save the project file somewhere convenient
Open the project file to resume work on those files
As a side note, I highly recommend the SyncedSidebar plugin to automatically expand the sidebar to reveal the files you have open.
You should also be able to right click in the file you're editing and "Reveal in Windows Explorer" (I use a Mac so I can only verify "Reveal in Finder").
Opening in a browser
You can set up a build path for this, or use a plugin like View in Browser.