Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 62969

Forum Post: RE: How can I perform auto format Cadence Skill, such as indent, align...

$
0
0
First start with a good text editor which can handle indentation and folding correctly. The issue is that the SKILL dialect of LISP is a not very well known language, so a specific language file for SKILL are rare. Some time ago I've switched from NP++ to sublime, it makes a big difference in configuring and using it for coding. You can code your SKILL language file in such way that you can even x-ref functions, so jumping to the definition and see where it is used throughout the project. Further, if you pp() (pretty print) your function then you will always get a 'default' format. However you will lose all your comments and in most cases the pp() result also makes it less readable. Assume that you've defined a test() procedure. Just use pp(test) to pretty print this function. If you pass a port as 2nd variable to pp() then you can print it to an file outport.

Viewing all articles
Browse latest Browse all 62969

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>