0

I want to use Komodo IDE for building one Django project.I want to use flycheck syntax checker so that it indicates the syntax errors on the fly.If fly-check cannot be integrated with Komodo,is there any other possibility to syntax checking on the fly?

Debajyoti
  • 1
  • 2

1 Answers1

0

Use the following process:

  • Goto Toolbox=>Add=>New Command

  • Enter the emacs command line arguments in the Run field:

    emacs eval('(progn
     (flycheck-declare-checker go-gofmt
       "A Go syntax and style checker using the gofmt utility."
       :command '("gofmt" source-inplace)
       :error-patterns '(("^\\(?1:.*\\):\\(?2:[0-9]+\\):\\(?3:[0-9]+\\): \\(?4:.*\\)$" error))
       :modes 'go-mode)
     (add-to-list 'flycheck-checkers 'go-gofmt)))
    
  • Check all the boxes

  • Enter the path to emacs in the Start In field

  • Click the Key Binding tab

  • Use Ctrl+0 as the New Key Sequence

  • Press Ctrl+A,Ctrl+0

References

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265