[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.
This topic is 6 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
Bosparan
Posts: 290
Last visit: Fri Oct 08, 2021 11:59 am

[PSS] Code Style validation

Post by Bosparan »

Hi,

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.

Cheers,
Fred
DevinL
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

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.
DevinL
SAPIEN Technologies, Inc.
This topic is 6 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked