Questions tagged [flycheck]

Flycheck is a on-the-fly syntax checking extension for GNU Emacs 24, which applies various syntax checking and linting tools to the buffer contents and highlights errors and warnings in the buffer window.

Flycheck is an on-the-fly syntax checking extension for GNU Emacs 24. It has built-in support for many programming languages, including C/C++, Coffeescript, Haskell, Javascript, PHP, Python, Ruby, LaTeX, Shell scripts, and many more, and can easily be extended with new syntax checkers.

It is available via ELPA from the popular MELPA and Marmalade archives.

For more information please consult the online manual.

77 questions
0
votes
0 answers

Why the flycheck fringe icon show half in right fringe

New come to emacs. i config flycheck the icon but i found a problem that it only show a half.
user11900485
0
votes
1 answer

emacs flycheck-mode python3 print statement with file=sys.stderr

I am using emacs on Ubuntu 16.04 and added the configuration for flycheck-mode to include the python3 setup below: Emacs: How do I set flycheck to Python 3? Answer: https://stackoverflow.com/a/55000284/719016 (custom-set-variables …
719016
  • 9,922
  • 20
  • 85
  • 158
0
votes
1 answer

Emacs flycheck python false postive with print()

I might spot a false positive with emacs flycheck an python. This is happen when a I write in a file : from sys import * print('this is an error, like you 3:)', file = stderr) Python run correctly but flycheck tell me that there is a syntax error.…
Welgriv
  • 714
  • 9
  • 24
0
votes
0 answers

Emacs flychecking an R program

I'd like flycheck to catch elementary coding issues while I'm writing a program in R. With a .emacs containing (require 'package) (add-to-list 'package-archives '("MELPA Stable" . "https://stable.melpa.org/packages/")…
Vrokipal
  • 784
  • 5
  • 18
0
votes
2 answers

Stability of .emacs under flycheck

To get flycheck working for Python, I had reached a satisfactory .emacs, which turned out to require no more than: (require 'flycheck) (add-hook 'after-init-hook #'global-flycheck-mode) Now after a bit of looking forward at what Python 3.6 will be…
Calaf
  • 10,113
  • 15
  • 57
  • 120
0
votes
1 answer

Guarantee that flycheck-mode appears in first position in the mode line

When coding in not too wide buffer flycheck errors tally that should be visible in line-mode gets truncated. How do I guarantee that flycheck mode tally comes first in the order of major/minor modes in line-mode?
SFbay007
  • 1,917
  • 1
  • 20
  • 39
0
votes
1 answer

Linting errors in js2-mode that seem to *not* be coming from flycheck?

I'm using emacs with the Spacemacs configuration (javascript layer enabled, syntax-checking not enabled). When in js2-mode I am finding that the wrong linting is happening (ie I have a .eslintrc file at my project root and its config is being…
George Mauer
  • 117,483
  • 131
  • 382
  • 612
0
votes
2 answers

flycheck: undefined name 'xrange'

I am running emacs24 and I'm new to emacs. I have some code in Python 2.7 that I am checking with flycheck. When I check the syntax, I get: error F821 undefined name 'xrange' (python-flake8) I understand that xrange is not in Python3, but here I'm…
Ricky Robinson
  • 21,798
  • 42
  • 129
  • 185
0
votes
1 answer

Flycheck package status obsolete

I am trying to integrate Flycheck into my emacs. I installed Flycheck exec-path and js-standard through the package manager. My .emacs file contains: (add-hook 'after-init-hook #'global-flycheck-mode) ;;…
mibbit
  • 4,997
  • 3
  • 26
  • 34
0
votes
1 answer

emacs flycheck errors and display issues

I'm trying to get used to Emacs, I'm coding in C for my school. So, I installed flycheck to check for potential compliation errors. However, I encounter several problems. Here's the message I get when I test flycheck with the c/c++-gcc checker :…
user3577121
0
votes
1 answer

Modify Flycheck GCC include path

I wanted to add project specific includes with a dir local doing this: ((c++-mode . ( (flycheck-gcc-include-path . ( "../engine" "/usr/include/qt" "/usr/include/qt/QtCore" "/usr/include/qt/QtWidgets" ) ) ) )) This…
Thaodan
  • 107
  • 1
  • 3
  • 10
0
votes
1 answer

Flycheck and Clutter - how can I set it up?

I've been using Flycheck for a while, but I'm not sure how to make it recognize Clutter properly. I typed this (very simple) program, based on a tutorial I found, into Emacs: #include #include //draws a basic, black…
Koz Ross
  • 3,040
  • 2
  • 24
  • 44
0
votes
1 answer

Javascript Emacs auto indent and flycheck is not behaving as I want

Im trying to get a basic JS IDE in Emacs but I just can't get everything to work. The problems I have is: 1. If I press enter I am not getting auto indent. 2. Flyckeck is not showing up as a minor mode Below is the relevant part om my .init…
user3139545
  • 6,882
  • 13
  • 44
  • 87
0
votes
1 answer

Can FlyCheck be used with Komodo(for Django) for checking syntax on the fly?

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…
0
votes
1 answer

Should I switch from flymake to flycheck? How much will it hurt?

I've been using emacs for quite a while. Flymake is one of the features I really appreciate about emacs, and yet I wish it worked better. It's hard to configure and it can be a resource hog without fixups. I had to hack around with it - to get…
Cheeso
  • 189,189
  • 101
  • 473
  • 713