If not, is there anything in MVBASIC that would make it impossible or
more difficult than one might guess to implement a block comment, or
would it simply be too low a priority to put in an enhancement request
for such? (I'm guessing I would have to put it at the end of my wish
list since it is "just" a tool while coding, but it certainly would be
nice)
If a block comment approach, such as /* */ is not feasible, could
Studio possibly do for mvbasic what it can do with COS (ctl+/ and
ctl+shift+/) and permit us to highlight code, then quote or unquote
it?
Thanks. --dawn
--
Dawn M. Wolthuis
Take and give some delight today
I'm fairly new to PICK basic/mvbasic, but I did some investigation into
this when first learning pick. It was frustrating to only have a line
level comment for me. The answer I was given is there is no definition
for a block level comment in PICK. I tend to agree that it gets tedious
and frustrating going down lines and typing * at the beginning to
comment out blocks or removing those * to uncomment blocks of code. I
would also lobby for a way in Studio to quickly comment/uncomment blocks
of code. Another nice one would be to be able to apply my format options
to a file. Both of those exist for all languages in Visual Studio and I
miss them when working in Cache's Studio.
Jason
I use PhraseExpress (PE) which allows for auto text correction,
hotkey macros, and (as the name implies) entry of phrases with
just a few keys. You can use this or similar tools to select
text and then hotkey in the workaround that Tom suggests. A
freeware version of PE is available from phraseexpress.com.
I also use AutoHotKey (popularly referred to as AHK) to do the
same thing and to provide features in products that aren't
already available, like "IntelliSense" (TM) help and other
features from an MV terminal emulator. This is also freeware.
You can also use AccuTerm wED for editing/compiling your Caché
MVBASIC code, though you don't get other benefits of Studio.
So above you have four solutions that you can have today.
I wouldn't recommend waiting but I've been working on a back
burner project for a new cross-MV, multi-language (JS+XML+BASIC)
GUI editor which has a lot of functionality that's not found
elsewhere (like code folding, regions, onscreen help, code
templates/snippets, and server-side search/open of related code).
Writing lexical/semantic parsers for MV BASIC is bad enough but
it just occurred to me that I'll need to support Caché object
syntax too. Let's call that v2+. :)
Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
Visit PickWiki.com! Contribute!