简体   繁体   中英

Sublime text 3: what is the sublime text package needs to be installed to open folder dialog from the code?

I have the html tag like this

<img src="" > 

and if i want to supply the path to this, i just needed to hardcode my path. I don't know how can raise folder dialog popup from my html code to lookup the exact path and select the same. Do i have any shortcut to do this or any package needs to be installed?

Open the file you want to supply the path to in Sublime Text. Control click (right click) the file body and choose Copy File Path . Paste the value in the src="" attribute. (You may want to change it from an absolute link to a relative link)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM