syntax-checking Questions
6
Solved
we're currently setting up out integration server and during that process we've set up pre-commit hooks on the SVN so that our developers can't check in files that are syntactically invalid (...
Golub asked 19/10, 2010 at 16:43
5
Solved
I load dynamically PHP class files with autoload.
And those files could be missing or corrupted by some reason.
Autoload will successfully report missing files so application logic could handle th...
Eppes asked 30/7, 2009 at 17:38
4
Solved
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 ...
Poore asked 9/1, 2017 at 7:24
1
Solved
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...
Haematogenesis asked 15/7, 2021 at 16:50
3
Solved
For example, HTML partial templates are being flagged with tons of errors but they are supposed to be fragments of a complete HTML doc.
Nano asked 4/8, 2015 at 19:54
9
Solved
I used to use perl -c programfile to check the syntax of a Perl program and then exit without executing it. Is there an equivalent way to do this for a Python script?
Newman asked 26/11, 2010 at 10:12
2
Solved
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 funct...
Gazelle asked 29/1, 2019 at 14:0
4
Solved
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....
Puppetry asked 30/4, 2014 at 8:52
9
Solved
I want to be able to pair up all parentheses in a string, if they aren't paired then then they get their index number and False. It seems like it is repeating some values over and over, i.e cl == p...
Nonetheless asked 15/7, 2011 at 1:36
3
Is there a way to check the syntax of a SQLite3 script without running it?
Basically, I'm looking for the SQLite3 equivalent of ruby -c script.rb, perl -c script.pl, php --syntax-check script.php,...
Mirella asked 27/5, 2010 at 18:32
5
I have problems to check syntax of ruby scripts that has rails script/runner on its shebang.
Here are two example scripts and how they responses to ruby syntax checking:
Script hello_world_runner...
Occiput asked 12/9, 2011 at 6:46
3
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/visua...
Sigma asked 12/4, 2016 at 14:53
6
Solved
I'm new to Ruby and recently ran into an issue comparing to values when creating a Ruby on Rails application. In a controller I had the following statement that always returned false:
if (user.id ...
Relative asked 9/7, 2009 at 14:37
2
I just started developing on Django, and then I thought using the Syntastic syntax checker on it would be a good idea.
The problem is that it complains about some things being wrong when, in fact,...
Amylaceous asked 22/8, 2012 at 13:37
8
Solved
Could someone refer me to an online PHP validator?
It would be of much help.
Thanks in advance!
Oller asked 11/3, 2011 at 6:4
3
Solved
I'm using NetBean's Compile on Save setting, and it's really handy when I'm editing a single file. But when I'm dealing with a pair of (or more) class files and am switching between the files, I ha...
Winebibber asked 1/2, 2010 at 20:41
1
Solved
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 Ed...
Lolitaloll asked 26/6, 2014 at 14:39
3
Solved
Does anyone know of a way in the Microsoft .NET framework to check the syntax, and only the syntax, of a given C# file?
For a little background, what I am interested in doing is setting up syntast...
Maurits asked 10/12, 2012 at 22:38
5
Solved
I am currently working on a program that has an embedded text editor. The users are supposed to type java code in the editor. The code typed into the editor is then made into a string. I just...
Papistry asked 2/7, 2012 at 18:6
6
Referring to Is there a static code analyzer [like Lint] for PHP files? -- I am looking at how to assess the content of PHP files before they are committed by developers. Whichever solution(s) are ...
Disabled asked 15/1, 2012 at 11:6
4
Solved
I want to check a script for syntax errors. In both 2.x and 3.x, how can I compile the script without running it?
Aeon asked 27/12, 2010 at 8:15
3
Solved
Are there any AWK syntax checkers? I'm interested in both minimal checkers that only flag syntax errors and more extensive checkers along the lines of lint.
It should be a static checker only, no...
Belita asked 23/8, 2011 at 17:34
2
Solved
Is there some tool that can syntax-check my JavaScript files to see if they contain syntax errors that would bother the Javascript engine of Internet Explorer, especially excess trailing comm...
Goodkin asked 29/6, 2011 at 16:56
3
Solved
The easy part:
Targeting the .NET 2.0 framework in a Visual Studio 2010 project using the dropdown.
The hard part:
Is it possible to target a specific syntax version - for example var s = "hel...
Bowdlerize asked 14/2, 2011 at 16:47
5
Solved
All I need is to check, using python, if a string is a valid math expression or not.
For simplicity let's say I just need + - * / operators (+ - as unary too) with numbers and nested parenthesis. ...
Seger asked 3/2, 2011 at 14:50
1 Next >
© 2022 - 2024 — McMap. All rights reserved.