RE: EdSharp Wish About Compiler Instructions

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: ProgrammingBlind@xxxxxxxxxxxxx
  • Date: Wed, 6 Jul 2011 09:59:34 -0400 (EDT)

Hi Jim,
I am copying this to the list in case it is of interest to others as well.

Several EdSharp compiler settings developed over time, and for backward compatibility, I did not change the configuration format, which I agree is not easy to grasp. I will consider a friendlier format in the future.

In the meantime, each compiler configuration is defined on a single (long) line in the [Compilers] section of EdSharp.ini. One can edit the user copy of EdSharp.ini with the Manual Settings command, Alt+Shift+M. Editing the factory settings requires opening the file
C:\Program Files\EdSharp\EdSharp.ini

The settings on that line are separated by the tilde (~)character as follows:

CompileCommand -- the command line for invoking the compiler or interpreter with tokens for the current source file, etc.

JumpPosition -- a regular expression that captures the line and optionally column where the compiler reports the first syntax error it finds in the source code, if any.

AbbreviateOutput -- a regular expression that removes extraneous text in the compiler output, so one can hear just key phrases of interest.

NavigatePart -- a regular expression that determines navigation targets with Alt+PageDown, Alt+PageUp, and Alt+Shift+G

QuotePrefix -- the character(s) denoting a comment line in the source language, used by the Control+Q and Control+Shift+Q commands.

ExtensionDefault -- the default file extension for source code files with that compiler.

GoToEnvironment -- a command line, invoked with Control+Shift+G, that starts an interactive, console-mode environment for the source language, if available.

The Configuration dialog, Alt+Shift+C, lets one change current compiler settings. At present, they do not get written to EdSharp.ini, so if one switches to another compiler and then returns to the current one, the settings in the user copy of EdSharp.ini (under the AppSettings directory) will be restored.

Jamal



--------------------------------------------------------------------------------

From: Homme, James [mailto:james.homme@xxxxxxxxxxxx]
Sent: Wednesday, July 06, 2011 8:40 AM
To: Jamal Mazrui (empower@xxxxxxxxx)

Subject: EdSharp Wish About Compiler Instructions


Hi Jamal,

When you have time, would you please explain and document a little more clearly how the syntax of the compiler lines works with all the ~ marks and where to put each of the items? I get things in the wrong places, and when I open the Alt+Shift+C dialog box to adjust things, things are in the wrong fields. I probably should have picked a compiler line in which everything was filled in to start with.



Thanks.



Jim



Jim Homme,

Usability Services,

Phone: 412-544-1810.





--------------------------------------------------------------------------------
This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts:

  • » RE: EdSharp Wish About Compiler Instructions - Jamal Mazrui