[Elementary-dev-community] Vala Analyzer

2013-02-10 Thread David Gomes
Hello guys, I'd just like to let you all know about Vala Analyzerhttps://github.com/elementary/vala-analyzer. It analyzes Vala source files for coding style errors (see DISCLAIMER). Obviously, it doesn't work like the human eye, and never will, but it's an useful script to run on files before

Re: [Elementary-dev-community] Vala Analyzer

2013-02-10 Thread Jaap Broekhuizen
Ironically written in python :P Met vriendelijke groet, Jaap Broekhuizen Aquamarijnstraat 273 9743 PG Groningen jaap.broekhuizen.nu jaap...@gmail.com 06 - 39 81 36 97 On Sun, Feb 10, 2013 at 2:05 PM, David Gomes da...@elementaryos.org wrote: Hello guys, I'd just like to let you all know

Re: [Elementary-dev-community] Vala Analyzer

2013-02-10 Thread Sergey Shnatsel Davidoff
Reinventing the wheel like that is surely going to take a lot of time and effort. Is there any static analyzer library or framework we could use and implement only the language- and convention-specific bits ourselves? -- Sergey Shnatsel Davidoff OS architect @ elementary -- Mailing list:

Re: [Elementary-dev-community] Vala Analyzer

2013-02-10 Thread Sergey Shnatsel Davidoff
Oh, and even here, simply locating a tab is not good enough. You should strip the line of spaces and then check if the first character of the line is a tab, then you can state that it's a violation of coding style. -- Sergey Shnatsel Davidoff OS architect @ elementary -- Mailing list: