开发者

Code style preferences using Sicstus and Eclipse (Spider)

I am currently using Sicstus Prolog VC9 4.1开发者_如何转开发.1 within Eclipse Galileo (Spider). I have a very newbie question: how would I automatically control indentation and in general code style preferences?


Currently there is only one setting that affects coding style, the default indentation level.

Open the Preferences in Eclipse. Under SICStus Prolog you will find all SPIDER-related preferences. There you can also change some of the highlighting preferences.

More powerful source code formatting is planned.

(I am one of the SICStus Prolog developers and I am responsible for SPIDER.)


I dont know much about SPIDER but you can adjust Eclipse to be Emacs Compatible editor. Emacs also can understand you are writing code in sicstus so your Eclipse can become a very friendly environment for you coding in sicstus as well as keeping the indentation also try using Cmd+Shift+F in case you are Mac user

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜