Giter Club home page Giter Club logo

Comments (5)

ciukstar avatar ciukstar commented on May 30, 2024 1

Can you elaborate on typescript-mode integration and tide integration

from ng2-mode.

tam5 avatar tam5 commented on May 30, 2024 1

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.

ciukstar avatar ciukstar commented on May 30, 2024

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.

ciukstar avatar ciukstar commented on May 30, 2024

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.

gentunian avatar gentunian commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.