This question already has answers here:
Sublime Text 2 - Show file navigation in sidebar
(10 answers)
Closed 6 years ago.
I recently have started to write code in sublime text 2 editor.
I can have my opened file in sidebar but i want to have folder in sidebar too. How can i add folder to my sidebar?
To open a project or a folder
In your menu bar got to File.
In sub menu Open Folder.
file > open folder
i finally find out how to do it!
1- view -> show sidebar .
2- file -> open folder
3- drag the folder you want to the sidebar and drop it !
Related
This question already has answers here:
React - How to open PDF file as a href target blank
(6 answers)
Closed 1 year ago.
In my React application, I want to link to a PDF from a page.
The PDF is located in src\assets\, and I have my component in src\components\xyz\.
In my component, I simply do <a href="<link to pdf>" >Download here</a>, but clicking on this takes me to localhost:3000/foo.pdf which doesn't give me anything.
When I add a download attribute to a it downloads the file, but I want it to first open in a new tab and then the user can download it from there.
How do I achieve this?
You can put the path to document in url href like this and try.
Download
This question already has answers here:
How can I create a link to a local file on a locally-run web page?
(5 answers)
Closed 2 years ago.
I'm trying to open a file on my local disk c: throught a link on my personal web page.
using this:
open locally
on the new "_blank" page, the url bar appears like "file///C:/myfolder/myfile.pdf", the colon (:) was removed from "file:///". The local file doesn't open just because the colon is missed.
What am I doing wrong? How can i fix it?
Try structuring your link like this
Open Locally
You do not need to add the blank window conditional as it will open with what ever your default PDF viewer is.
Remove "http://"
open locally
Local file protocol is "file://"
This question already has answers here:
How to specify a local file within html using the file: scheme?
(5 answers)
Closed 3 years ago.
I try to put a link to a file in my page, such that, once a user clicks the link - the browser downloads the file.
HTML:
<a href="correct_path...." download>downloadable link</a>
Here is the image shows the full path of the link:
And here is the image shows the file does exist:
So why, when I click the link NOTHING happens? it doesn't download..
When you work with a server (local server too) the root of the urls/links must be the server, not your computer.
For example, in your case, if the root folder of your server is 'SMIS' the correct URL will be "http://localhost/SMIS/Files/6.pdf"
This question already has answers here:
How can I open the Atom editor from the command line in OS X?
(20 answers)
Closed 4 years ago.
I would like to know how to open a html file in atom with the command line.
Now, if I do this for example:
open index.html
It open the file in my browser but I was wondering if there was a command to open it in Atom too.
I'm using a mac and chrome as browser.
I have not used Atom myself but I assume it is much like other software in that you can open a file from the terminal using it like so:
atom index.html
It's seems i can open only one folder in the navigation sidebar in the SublimeText2 editor.
Everytime i try it open a new window...i try using a widows with 2 layout and 2 group... and also " add folder to project".. same result.
Is there a way cause i need for example the package folder
/usr/lib/python2.7/mypackage
and the project folder in my /home/project
One way would be opening the top level directory... but it not the best.
Give thanks to the community