Print Page | Close Window

WED Tools Format F12

Printed From: Rocket Software
Category: AccuTerm Knowledge Base (read only)
Forum Name: Advanced Features
Forum Description: Private escape sequences, host integration using the AccuTerm Server and ObjectBridge
URL: https://forum.asent.com/forum_posts.asp?TID=2677
Printed Date: March 28 2024 at 6:22am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: WED Tools Format F12
Posted By: diver64
Subject: WED Tools Format F12
Date Posted: January 31 2018 at 7:18am
Hello, We are on Accuterm 7, and use WED extensively..
 
I usually type quickly, and then press F12 constantly to reformat my code. The problem is that the comment lines are reformatted and I get complaints from other developers and need to fix them manually..
 
Does anyone know of a solution to this?
Thanks,
 



Replies:
Posted By: PSchellenbach
Date Posted: January 31 2018 at 9:56am
Hi Jim -

The code formatter in wED has options for how you want to indent comments. There is no option to ignore comments when formatting. In the current version, 3 styles of comments are recognized, and the indent for each can be specified as "none", "margin" or "code". The two built-in styles are "*" comments and "!" comments. A user-defined comment prefix was added in AccuTerm release 7.2. The user-defined prefix is handy for directives, like $INCLUDE or #if.

Thanks,

Pete




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net