Missing some features
Hi,
I'm an Xemacs user going to switch to hdt. At first a nice tool, good work. (X)emacs has a very good VHDL-Mode and I'm missing some features in hdt. At first the code beautifier. It aligns the code. In hdt is a similiar feature, but I couldn't see any change in my code.
Second, Xemacs' vhdl mode offers inserting a header template including the date of the last modification. Each time the file is saved this date is updated. Is there a similiar feature in hdt? Or how can I link an external script to the file save function?
Thanks Tom
- Forums:
Beautify and header templates
Hi Tom,
Sigasi HDT currently offers multiple features that can help you beautify your code:
:,<=,:=,=>or,(Shift+Ctrl+A)Note that you some of the above actions, you have to select some code first (Ctrl+A to select all).
Concerning header templates. You can easily create extra templates to Sigasi HDT, and use autocomplete to add them to your files. You can use the variables such as
${user},${date}or${time}that are automatically filled in when autocompleting.These dates are however not updated when you change the file. I personally think you should use a version control system to keep track of different versions of your file. If you use Subversion, you can achieve what you describe with keyword substitution:
E.g.:
When you commit this will become:
Beautify
Hi,
the align feauture does not work on this entity declaration, if I select it or the file content entirely
Just now it looks different, because HTML can not formated by spaces.
Beautify
You should select only those lines that you want to align (See also this post on the align action).
Post new comment