-
Notifications
You must be signed in to change notification settings - Fork 13
Setting up IntelliJ
Joshua edited this page Mar 14, 2019
·
3 revisions
-
Preferences > Languages & Frameworks > JavaScript
, selectFlow
fromJavaScript language version dropdown
- Make sure
Use Flow server for: Type checking
is ticked. - It should auto-detect path to
Flow package or executable
. If not it should be[absolute path to project root]/node_modules/flow/bin
- Right click on
assets
dir in left-hand directory view and clickMark directory as
,Sources root
- You'll need to do this each time you start IntelliJ. If anyone finds a way to make IntelliJ remember this, update this wiki!!
These will let auto-import work properly in keeping with the project style
-
Preferences > Editor > Code Style > Javascript
,Imports
tab. TickUse paths relative to the project
. This will get it to use absolute paths for JS imports rather than relative which is consistent with the style of the project -
Preferences > Editor > Code Style > Javascript
,Spaces
tab. TickES6 import/export braces
underWithin
-
Preferences > Editor > Code Style > Javascript
,Punctuation
tab choose single quotes always
- Redux Glossary
- Why Redux Toolkit?
- Writing state slices with Redux Toolkit
- Handling action side effects in Redux
- Presentational and Container Components
- Scoped actions and reducers
- Server Side Rendering
- Form validation
- CI build process
- Post deployment testing
- Post deployment test runbook
- TIP Real User Testing
- Code testing and validation
- Visual testing
- Testing Apple Pay locally
- Test Users
- Deploying to CODE
- Automated IT tests
- Deploying Fastly VCL Snippets
- Archived Components
- Authentication
- Switchboard
- How to make a fake contribution
- The epic and banner
- Environments
- Tech stack
- Supported browsers
- Contributions Internationalisation
- Payment method internationalisation in Guardian Weekly
- Print fulfilment/delivery
- Updating the acquisitions model
- Runscope testing
- Scala Steward for dependency management
- Alarm Investigations
- Ticker data
- Ophan
- Quantum Metric
- [Google Tag Manager] (https://github.com/guardian/support-frontend/wiki/Google-Tag-Manager)