Create file from code
Given the following code:
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
Suppose I insert the tag:
<script src="main.js"></script>
but the file, main.js doesn't exist. Is there a shortcut to create that file without having to right click the project folder and choose new file?
Thanks
Please sign in to leave a comment.
Hi there,
Have you tried Alt+Enter on the file in question (and then do simple and straightforward action from there)?
Thanks, that's what I needed.