mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 12:43:48 -04:00
(ide) add default configuration for JetBrains IDEs
This commit is contained in:
parent
b1a7876fa7
commit
c23873da43
5
.gitignore
vendored
5
.gitignore
vendored
@ -106,7 +106,10 @@ dist
|
|||||||
.serverless
|
.serverless
|
||||||
|
|
||||||
# IDE / Editor
|
# IDE / Editor
|
||||||
.idea
|
.idea/*
|
||||||
|
!.idea/jsLinters
|
||||||
|
!.idea/runConfigurations
|
||||||
|
!.idea/vcs.xml
|
||||||
|
|
||||||
# Service worker
|
# Service worker
|
||||||
sw.*
|
sw.*
|
||||||
|
7
.idea/jsLinters/eslint.xml
generated
Normal file
7
.idea/jsLinters/eslint.xml
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="EslintConfiguration">
|
||||||
|
<files-pattern value="**/*.{js,json,suml,vue,yml}" />
|
||||||
|
<option name="fix-on-save" value="true" />
|
||||||
|
</component>
|
||||||
|
</project>
|
11
.idea/runConfigurations/jest-all-tests.run.xml
generated
Normal file
11
.idea/runConfigurations/jest-all-tests.run.xml
generated
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="All Tests" type="JavaScriptTestRunnerJest" nameIsGenerated="true">
|
||||||
|
<node-interpreter value="project" />
|
||||||
|
<node-options value="--experimental-vm-modules" />
|
||||||
|
<jest-package value="$PROJECT_DIR$/node_modules/jest" />
|
||||||
|
<working-dir value="$PROJECT_DIR$" />
|
||||||
|
<envs />
|
||||||
|
<scope-kind value="ALL" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
20
.idea/vcs.xml
generated
Normal file
20
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="IssueNavigationConfiguration">
|
||||||
|
<option name="links">
|
||||||
|
<list>
|
||||||
|
<IssueNavigationLink>
|
||||||
|
<option name="issueRegexp" value="!(\d+)" />
|
||||||
|
<option name="linkRegexp" value="https://gitlab.com/PronounsPage/PronounsPage/-/merge_requests/$1" />
|
||||||
|
</IssueNavigationLink>
|
||||||
|
<IssueNavigationLink>
|
||||||
|
<option name="issueRegexp" value="#(\d+)" />
|
||||||
|
<option name="linkRegexp" value="https://gitlab.com/PronounsPage/PronounsPage/-/issues/$1" />
|
||||||
|
</IssueNavigationLink>
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
16
README.md
16
README.md
@ -77,12 +77,22 @@ SECRET=replaceThis
|
|||||||
|
|
||||||
### Editor
|
### Editor
|
||||||
|
|
||||||
Some libraries like Vue recommend using Visual Studio Code as editor.
|
#### Visual Studio Code
|
||||||
There are some recommended extensions in `.vscode/extensions.json` to help with development.
|
Recommended extensions are provided in `.vscode/extensions.json`
|
||||||
|
and Visual Studio Code will ask for your permission to install them upon project open.
|
||||||
|
`.vscode/settings.json` already includes settings to integrate with tooling.
|
||||||
|
|
||||||
|
#### JetBrains IDE (WebStorm, PhpStorm, …)
|
||||||
|
Most of the tooling is already shipped with a JetBrains IDE.
|
||||||
|
`.idea` already contains some settings to integrate with the tooling.
|
||||||
|
If you want syntax highlighting for `.suml` files, you need to manually bind them to `yaml` syntax
|
||||||
|
via `Settings › Editor › File Types`.
|
||||||
|
|
||||||
|
#### Others
|
||||||
When you want to use a different editor, you may need to configure some points to reduce manual work:
|
When you want to use a different editor, you may need to configure some points to reduce manual work:
|
||||||
|
|
||||||
- Integrating ESLint with auto-fixing on save (the formatting relies on it)
|
- Integrating ESLint with auto-fixing on save (the formatting relies on it)
|
||||||
- Integration Jest to easily view test results
|
- Integrating Jest to easily view test results
|
||||||
- Use `yaml` syntax highlighting for `.suml` files
|
- Use `yaml` syntax highlighting for `.suml` files
|
||||||
|
|
||||||
### Tools
|
### Tools
|
||||||
|
Loading…
x
Reference in New Issue
Block a user