Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
199 views

I am working with a large fortran codebase, and am making changes to one file in this. The build system is complex, must be run on a certain non-local computer, and is time consuming. I would like to ...
markmuetz's user avatar
  • 9,664
1 vote
2 answers
530 views

Question After automatically modifying some Python comments in Java, I would like to verify the file still contains valid Python syntax, how can I do that from Java, without actually running some ...
a.t.'s user avatar
  • 2,917
1 vote
3 answers
114 views

How do I compile a new function created inside a package in plsql, to see syntactical error and so on
Anshul Lavaniya's user avatar
1 vote
1 answer
267 views

I started to work with Visual Studio Code, and it's super cool with syntax correction warnings. I used to work 20 years under Linux shell in Vim. But now I can see too much error related to global ...
Petr Vyhnálek's user avatar
1 vote
1 answer
79 views

I'm sure if this is possible, I'm beginner in TypeScript but what I'm trying to do is: I have the following type; type Special<C> = { [Prop in keyof C]: C[Prop] extends Function | string ? C[...
Grizzly's user avatar
  • 395
-3 votes
1 answer
417 views

I want to create a new vim syntax checker for a new programming language that is not used widely, first i tried to read the code of the follwing plugins neomake, syntastic , and Ale in order to ...
abderrahmane Mustapha's user avatar
4 votes
3 answers
7k views

I'm writing a console application to validate the PowerShell script syntax. My request is to validate the PowerShell script without executing the script. I found this below PowerShell command which ...
Azhar's user avatar
  • 117
3 votes
2 answers
341 views

I am trying to detect nested loop with the same index which looks like this: for(let i = 0; i < 10; i++) { for(let i = 0; i < 10; i++) { } } I have searched Eslint rules but haven't ...
ist's user avatar
  • 33
1 vote
1 answer
248 views

I am pretty happy to say I think I have my first coin flip problem running. I am counting how many times it takes to get all heads or all tails in a trial of 7 flips. In theory it should take around ...
CPTxShamrock's user avatar
1 vote
0 answers
633 views

Im searching for an way to check if any syntax errors are present in a assembly file for arm. My first try were to query all possible instructions of the arch x. My next attempt was to look for any ...
Basur's user avatar
  • 369
4 votes
0 answers
354 views

As you can see, result of the code below is unfair, because it can't be that iterator spent same time as "return" or "if y:". Why is it? How can I fix it? In some tests my code is too heavy so I ...
arseniyx92's user avatar
1 vote
1 answer
2k views

What I am trying to develop is a web-environment app which will let user write and syntax check his own python code. To the moment, I have embedded ACE editor to my app using the python mode. My ...
N.Papadopoulos's user avatar
5 votes
2 answers
2k views

Following this answer I learnt that I can disable syntax checking for an SQL function by setting check_function_bodies=false. In my case: Running an upgrade using Flyway where The order of function ...
Pyrocks's user avatar
  • 511
1 vote
0 answers
506 views

I use ALE vim plugin which lints with clang and gcc by default. If I write program on C and define variable of ssize_t type ALE will marks it as mistake with message "unknown type name 'ssize_t'; did ...
Kirill Bugaev's user avatar
0 votes
1 answer
643 views

I'm looking for a way to build a XML editor with JavaFX, which checks the syntax and displays errors and also has syntax highlighting. Does anyone has an idea how to do that? Are there already ...
dblum's user avatar
  • 53
4 votes
2 answers
3k views

I have Jenkinsfile it's written in Groovy, but file name doesn't have approprite extension: .groovy. How can I tell IDEA to check groovy syntax of this file? Update: Also I interested in the same ...
Rudziankoŭ's user avatar
  • 11.3k
1 vote
1 answer
253 views

I would like to get syntax checking for my .c in Visual Studio 2017, but it seems I only get it if my source file is named source.cpp, not source.c Is it possible to turn it on? Thanks!
user avatar
5 votes
2 answers
4k views

What's the simplest way to syntax-check my VHDL in Vivado without running through a full synthesis? Sometimes I code many inter-related modules at once, and would like to quickly find naming errors,...
edj's user avatar
  • 543
2 votes
3 answers
369 views

I've had a dispute with some colleges on should I take a syntax check after every code modification as a distinct step or I'd better rely on unit tests to catch possible syntax breakage ... ( of ...
Alexey Melezhik's user avatar
0 votes
1 answer
1k views

When I edit a VHDL testbench (simulation source) in Vivado (project mode), background syntax checking seems to be disabled: Obvious syntax errors like missing semicolons or undefined signals are not ...
Chipmuenk's user avatar
  • 697
2 votes
1 answer
388 views

I've been testing some c# code in visual studio and when I opened visual studio this morning my project was full of red lines. Demanding class declarations to be closed with End class Red lines under ...
Stian's user avatar
  • 67
0 votes
1 answer
1k views

During development of a cassandra datamodel how do you very quickly do a commandline syntax check before executing the commands using cqlsh to avoid unnecessary troubleshooting? The larger the cql the ...
Mike's user avatar
  • 407
-1 votes
1 answer
2k views

For example input string: s = "fo)o)fus()(bar((em)ro(em))dah((y(XXX)" As a result I expect: fus()((em)ro(em))dah(XXX) It's like result should contain all "healthy" blocks, which has open "(" and ...
Yuriy Leonov's user avatar
46 votes
4 answers
66k views

I have a code that generates TypeScript classes, and as a build/test step, I would like to check the generated files for syntax correctness. I have looked at TypeScript compiler options but see no ...
Ondra Žižka's user avatar
1 vote
1 answer
2k views

I'm using Ace Editor, and I'm trying to figure out how to get it to live syntax check the HTML markup AND JavaScript code in the editor. If I set "ace/mode/html" only HTML syntax is checked, so in ...
Erich's user avatar
  • 15
4 votes
2 answers
893 views

I'm trying to get a better understanding of how S-expressions are evaluated in different lisps and wanted to see they would handle interesting ill-formed expressions. I get that Common Lisp and Scheme ...
Greg Nisbet's user avatar
  • 7,064
0 votes
2 answers
287 views

Are there syntax checkers able to detect broken code based on edge cases. An example: def run(): for j in [0, 1]: if j == 0: yield j else: yield None for i ...
wizmer's user avatar
  • 939
10 votes
3 answers
446 views

So today I faced interesting problem while trying to build our company solution and I wanted to ask you guys do you know why is this happening. I've been told that it might be from my machine/visual ...
kuskmen's user avatar
  • 3,795
0 votes
0 answers
2k views

I just moved all my header files to be in the include directory of my project, rather than having both .cpp and .h in the src directory. I'm using YouCompleteMe in vim and now when I open vim, it ...
Sterling's user avatar
  • 4,253
1 vote
1 answer
2k views

Having previously used Microsoft's SQL Management Studio, I often used the query syntax check feature, pretty handy especially in a production environment. Is there a similar feature in phpMyAdmin ? ...
Pierre Roudaut's user avatar
2 votes
3 answers
6k views

I want to do: $str = "<? echo 'abcd'; ?>"; if (is_valid_php($str)){ echo "{$str} is valid"; } else { echo "{$str} is not valid PHP code"; } Is there a simple way to do the is_valid_php ...
Reed's user avatar
  • 15k
0 votes
0 answers
61 views

I have a self defined text editable (datafile) file format (which uses certain python types as dict, tuples, lists etc as well) for providing arguments data to my python scripts. These arguments are ...
codebraker's user avatar
1 vote
2 answers
78 views

How can I make syntax control and debugging on makefile? I used g++ compiler. We can assume that following code our sample makefile.Thanks for your advice. all: sample1 sample1: deneme.o hello.o ...
snc's user avatar
  • 21
7 votes
3 answers
4k views

For example, HTML partial templates are being flagged with tons of errors but they are supposed to be fragments of a complete HTML doc.
Eno's user avatar
  • 10.9k
3 votes
0 answers
5k views

I'm having trouble getting Twig syntax checking and highlighting for *.php and *.tpl* files in PhpStorm? It throws a lot of syntax errors. The HTML and PHP syntax is already getting picked up. In ...
Bas Peeters's user avatar
  • 3,364
0 votes
1 answer
228 views

I can't seem to find anything on this, and I'm wondering if anyone else has encountered this issue or knows the reason why. I have some PHP code that I'm trying to verify the syntax of before I save ...
Steph Rose's user avatar
  • 2,136
2 votes
0 answers
273 views

Scheme language is used to build control files for the program, Meep. Almost all my Meep control file errors result from mismatched parenthesis which Meep recognizes after the control file is ...
Steve Russell's user avatar
1 vote
2 answers
2k views

I am using NetBeans IDE 8.0.1 for my PHP development. I like the syntax check feature in netbeans. But the problem that I have is that it only works with files that have .php extension . I am using ...
Marko Durasic's user avatar
0 votes
1 answer
91 views

I need to provide and IDE with a syntax checker and validator for a very simple DSL. The DSL's interpreter already exists so there is no need for another one. The DSL is suitable for xtext & ...
Toaster's user avatar
  • 1,981
0 votes
3 answers
3k views

I am writing a function that finds the index of the first trail whitespace of a string, but I am unsure of how to do so, can someone please teach me? for example "i am here. " there are three ...
Joyce Lam's user avatar
1 vote
1 answer
5k views

I am trying to write a function to check for trail whitespace, but not to remove the spaces. but i have no idea of how to do that. can somebody teach me? thank you
Joyce Lam's user avatar
0 votes
1 answer
113 views

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 ...
Debajyoti's user avatar
2 votes
1 answer
1k views

I have emacs24 (installed by homebrew), flycheck (installed by MELPA) and pylint (installed by pip) on my mac, and I have the following code (add-hook 'after-init-hook #'global-flycheck-mode) in my ....
LWZ's user avatar
  • 12.5k
1 vote
0 answers
69 views

Qt Creator can locate errors in C++ code through some syntax checking. However it does not stop me from pressing the compile button. Is there any way to configure it to not start compiling if I have ...
Reed Richards's user avatar
3 votes
1 answer
532 views

When using gcc or g++, what is the difference between telling GCC to only compile a file and not link (-S), combined with telling it to not produce an output file (-o "nul"): gcc.exe/g++.exe -S "...
Orwell's user avatar
  • 1,528
5 votes
1 answer
14k views

In Gedit, I can add an External Tool of "php -l" on the current document, and if I have PHP command line installed, it will syntax check the document. Is there a way to do this with Sublime Text ...
Volomike's user avatar
  • 25k
15 votes
4 answers
25k views

I didn't find an answer to this question on the web, so I'll say it up front; this is NOT a question about SublimeLinter, and I do NOT want to format my python code according to the PEP8 standards. ...
Jonathan H's user avatar
  • 8,022
1 vote
1 answer
2k views

Is there a way to turn off syntax / error checking while writing queries in MySQL Workbench? It lags almost constantly as I'm typing (presumably to check syntax, as it informs me of errors), and gets ...
Tom Murray's user avatar
4 votes
4 answers
6k views

I'm attempting to build an auditing feature into my application that will check for various code quality issues. One of the things I would like to do is check certain PHP files for syntax errors. I ...
Steve Robbins's user avatar
4 votes
0 answers
72 views

In a small Program users insert multiple typed formulas and wire them together in order to create a system of simultaneous equations. And I'd like to introduce runtime type checking, so as to report ...
Jack Shade's user avatar