Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quick inserting a relative path in PhpStorm

In PhpStorm:

Is there a fast way for inserting relative path to other file (ex. css,js, image files) in another one? (Perhaps by dragging file in code position)

like image 388
Handsome Nerd Avatar asked Feb 21 '12 22:02

Handsome Nerd


People also ask

How do I copy a relative path in IntelliJ?

Press Ctrl+Shift+C to copy the absolute path to the current file. Choose Edit | Copy Path/Reference from the main menu. In the popup that opens, choose what part of the path you want to copy — filename, absolute, or relative path.

How do I find a path from one file to another?

Click the Start button and then click Computer, click to open the location of the desired file, hold down the Shift key and right-click the file. Copy As Path: Click this option to paste the full file path into a document. Properties: Click this option to immediately view the full file path (location).


1 Answers

Ctrl + Space + Space

Hold Ctrl and press Space twice...

Autocompletes relative path...

like image 129
Babistalikesflyingonrails Avatar answered Nov 15 '22 21:11

Babistalikesflyingonrails