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.
Related
So I have this VScode folder that I run onto live server extension. However, whenever I open this ip:port, I always see my other code that is used in the html file. Is there a way that I can automatically go from ip:port to ip:port:html instead of seeing the entire folder selection?
I want to download a large file from gdrive in remote server. I can download the file in my Chrome via clicking download and confirm. My question is how can simulate the click download button in a terminal or a simple programming script so that I can download the file on my remote server.
Take an example of this file
I can check the Chrome network
(it does not work for gdrive, but works for some website) Though I do not understand why it works, I can use the feature copy as curl and get runnable terminal cmd to download some file.
Note
I find there is a good python package gdown and easy to use. However, for some large file, it can not work. For exmaple, this 500mb file.
For the large file, gdrive ask a another confirmation
It would be great if I understand how "download button" works and simulating click action in remote server.
I want to try netbeans for web development. I created a new local project. I have my remote server files (javascript, php etc) accessible locally on my computer using sftp in linux, now I just want to add these files to the project but there is no 'add files' possibility. Have Oracle forgotten something so obvious as add existing files? I can't believe it.
To add an external file to your NetBeans project:
Select the file in the file system that you want to add to your NetBeans project using a file manager (such as File Explorer on Windows).
Right-click and select Copy from the popup menu.
Within NetBeans go to your project and position the mouse over the target directory to which you want to copy the file. You can do this in the Projects panel or the Files panel as appropriate.
Right-click and select Paste.
That's all there is to it. This works on Linux and Windows. You can also do drag and drop, though on Linux the file is copied whereas on Windows the file is moved.
There is no menu option in NetBeans such as File -> Import existing file to do this. Just use an external file manager.
Update/clarification:
The instructions above only specify how to copy an existing file into an existing project.
There is no way to include an individual file that is external to the structure of a NetBeans project.
However, it is possible to create a symbolic link (junction) from a NetBeans project directory to an external directory. To do that open a Command Prompt window as an administrator and enter a command similar to this:
mklink /J D:\NetBeansProjects\HTML5DemoCss\nbProject\MyLink2 C:\sftp
That will create a new directory in your NetBeans project named MyLink2 which maps to an external directory named c:\sftp. You can then process files in that external directory C:\sftp as though they were within your project directory MyLink.
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).
I have the windows application installed, Live Reload extension for chrome and i'm using Sublime Text with Live Refresh and Live Reload plugins. For some reason any HTML doc i edit on sublime text is not auto updating on chrome. The extension is stuck on "Live Reload is connecting" when i enable it. What exactly am i missing, do i need to setup a local web server or something like that?
I think your issue may be that you did not add the folder that contains your HTML document to the LiveReload windows application so that it can monitor for changes to the file.
If you open up the LiveReload app, it should have a list of site folders. Try adding your test project's folder to the list.
If you load from local file it does work you must runt the local file through a web server e.g python -m http.server in the folder your .html exists otherwise the option match to local file never appears and then you can have the save and reload functionality.
I mention it because I hadn't found the problem through reading the post