[PSS] Code Style validation

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
Posts: 282
Joined: Sun Mar 03, 2013 12:45 pm

[PSS] Code Style validation

Post by Bosparan »


yet another idea inspired by my project work:

PSS already does a great job finding syntax errors. But what if you could also detect style issues in a project?
- Tabs or spaces (and how many?) for indentation?
- Variables properly styled?
-- Uppercased?
-- Lowercased?
-- Camelcased?
-- As a parameter of a function or an internal variable?
-- Illegal letters/symbols in names?
-- Blacklisted names?
-- Too short?
- braces properly placed?
- Parameter block properly laid out?
- Cmdlet binding present?

If this comes, having these rules set as a file that is part of the project would be awesome, since that too could be shared and managed as part of Github.


Site Admin
Posts: 1098
Joined: Mon Aug 17, 2015 2:25 pm

Re: [PSS] Code Style validation

Post by DevinL »

Thank you for your suggestion, I've filed an internal feature request and if we get some more information on implementing this, we'll be sure to post it here.
SAPIEN Technologies, Inc.