https://github.com/fedott/webstormrequirejsplugin
Require.js completion and reference path plugin for WebStorm, PHPStorm and other Idea family IDE with Javascript plugin
https://github.com/fedott/webstormrequirejsplugin
Last synced: 10 months ago
JSON representation
Require.js completion and reference path plugin for WebStorm, PHPStorm and other Idea family IDE with Javascript plugin
- Host: GitHub
- URL: https://github.com/fedott/webstormrequirejsplugin
- Owner: Fedott
- License: mit
- Created: 2013-10-23T15:07:57.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-02-04T21:53:44.000Z (over 10 years ago)
- Last Synced: 2023-10-20T19:48:55.100Z (over 2 years ago)
- Language: Java
- Homepage: http://plugins.jetbrains.com/plugin/7337
- Size: 1.02 MB
- Stars: 86
- Watchers: 6
- Forks: 18
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebStormRequireJsPlugin #
Require.js completion and reference path plugin for WebStorm, PHPStorm and other Idea family IDE with Javascript plugin
## Getting started ##
To get started, you need to set the path to the public directory. This directory pointed to by the web server.
#### Example
Project stucture:
```dir
.idea/
psd/
- index.psd
- view.psd
public/
- index.html
- main.js
- vendor/
- jquery.js
- require.js
- css/
- main.css
readme.md
```
In this case, the directory pointed to by the web server directory is "public". For proper operation of the plug-in
configuration must specify: "Path to public directory" value "public".
#### Example 2
Project stucture:
```dir
.idea/
backend/
- src/
- ...
frontend/
- psd/
- index.psd
- view.psd
- public/
- index.html
- main.js
- vendor/
- jquery.js
- require.js
- css/
- main.css
readme.md
```
In this case, the directory pointed to by the web server directory is "frontend/public". For proper operation of the
plug-in configuration must specify: "Path to public directory" value "frontend/public".
#### Example 3
Project stucture:
```dir
.idea/
index.html
main.js
vendor/
- jquery.js
- require.js
css/
- main.css
```
In this case, the directory pointed to by the web server is the root directory of the project. For proper operation of
the plug-in configuration must specify: "Path to public directory" value "" (empty string).