Code Beautification for Verilog in XEmacs ?

Guest
I see there is a verilog-mode extension for XEmacs, and having used the beautification command in the vhdl-mode, I was wondering how can one clean up the code using XEmacs with verilog? If this is not possible can anyone recommend another method to clean/beautify verilog code?
 
fmc.stevec@gmail.com a écrit :
I see there is a verilog-mode extension for XEmacs, and having used the
beautification command in the vhdl-mode, I was wondering how can one clean up
the code using XEmacs with verilog? If this is not possible can anyone
recommend another method to clean/beautify verilog code?

In theory it's possible (if it's possible with VHDL, why not in Verilog?) but
not with the default verilog-mode.

So you should write your own verilog-mode which implement the beautification as
vhdl-mode does.

Of course this question has nothing to do with comp.lang.verilog (comp.emacs or
comp.emacs.xemacs are more appropriate).

Maybe some day I'll share my custom verilog-mode ;)
 
Vince wrote:
fmc.stevec@gmail.com a écrit :
I see there is a verilog-mode extension for XEmacs, and having used the
beautification command in the vhdl-mode, I was wondering how can one clean up
the code using XEmacs with verilog? If this is not possible can anyone
recommend another method to clean/beautify verilog code?

In theory it's possible (if it's possible with VHDL, why not in Verilog?) but
not with the default verilog-mode.

So you should write your own verilog-mode which implement the beautification as
vhdl-mode does.

Of course this question has nothing to do with comp.lang.verilog (comp.emacs or
comp.emacs.xemacs are more appropriate).

Maybe some day I'll share my custom verilog-mode ;)

It's too bad that Verilog uses "begin" and "end" instead of
curly braces. Otherwise you could just run the code through
a C language beautification, available in most advanced
programmers' editors.

I generally try to keep my code beautified as I write it,
and when going through someone else's code, I typically
beautify it (by hand) while looking through it to see
how it works.

--
Gabor
 

Welcome to EDABoard.com

Sponsor

Back
Top