Comments (5)
Can you elaborate on typescript-mode integration
and tide integration
from ng2-mode.
SOLVED
Add this to init (after pulling in tide
).
(use-package ng2-mode
:config (flycheck-add-mode 'typescript-tide 'ng2-ts-mode))
from ng2-mode.
This worked for me:
(use-package ng2-mode
:config
(require 'flycheck)
(require 'tide)
(flycheck-add-mode 'typescript-tide 'ng2-ts-mode))
Thank you, @tam5
from ng2-mode.
Is there a way to do "the same" with ng2-mode / EditorConfig?
(The second reason I will uninstall ng2-mode again is because I don't how to make n2-mode to work with EditorConfig.)
from ng2-mode.
Is it possible to use ng2-mode
and have compile errors shown? I'm using spacemacs and I've installed ng2-mode
as additional package and use the above configuration:
;; List of additional packages that will be installed without being
;; wrapped in a layer. If you need some configuration for these
;; packages, then consider creating a layer. You can also put the
;; configuration in `dotspacemacs/user-config'.
dotspacemacs-additional-packages
'(
(ng2-mode :config (require 'flycheck) (require 'tide) (flycheck-add-mode 'typescript-tide 'ng2-ts-mode))
)
Compile errors are only shown when I do: M-x typescript-mode M-x flycheck-mode
. Order matters, it won't work invoking flycheck mode first.
Any idea/hint/solution is appreciated :)
from ng2-mode.
Related Issues (16)
- "ng2-mode EditorConfig" does not follow EditorConfig properties HOT 2
- Support more decorators HOT 4
- Configurable file names HOT 1
- Underscores break syntax highlighting HOT 1
- Keywords as method names sometimes break syntax highlighting HOT 2
- Angle bracket (>) seems to cause 100% cpu. HOT 3
- Angular Language service integration? HOT 2
- ng2-html-goto-binding doesn't work with name$
- emacs theme in screenshot
- Lambda type in Lambda argument causes infinite loop
- set indentation to 2 HOT 3
- Inline templates in *.ts files don't indent. HOT 1
- Auto completion in templates HOT 1
- Jump to definition of variable used in template? HOT 2
- type-script keymap does not appear to be inherited HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng2-mode.