Skip to content

Commit 827a372

Browse files
committed
doc: fix links
1 parent ab756f8 commit 827a372

File tree

5 files changed

+57
-56
lines changed

5 files changed

+57
-56
lines changed

doc/Editor.dd

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ $(UL
66
$(LI syntax highlighting supports all sorts of D2 style strings.
77
$(IMG_CENTER images/strings.png)
88
)
9-
$(LI statements disabled by version or debug conditionals are displayed in a slightly different color.
10-
Debug and version identifiers and levels can be defined in the same source file or in the current project
9+
$(LI statements disabled by version or debug conditionals are displayed in a slightly different color.
10+
Debug and version identifiers and levels can be defined in the same source file or in the current project
1111
configuration. The compiler predefined version identifiers are also recognized.)
1212
$(IMG_CENTER images/versionhighlight.png)
13-
$(LI code in $(LINK2 http://d-programming-language.org/lex.html#TokenString, token string literals) are highlighted
13+
$(LI code in $(LINK2 http://d-programming-language.org/lex.html#TokenString, token string literals) are highlighted
1414
in another slightly different color than regular code.)
15-
$(LI highlighting colors can be setup in the "Fonts and Colors" page found in the Tools->Options Dialog.
16-
In addition to the regular colors, you'll find "Visual D Disabled ..." colors for the code disabled
15+
$(LI highlighting colors can be setup in the "Fonts and Colors" page found in the Tools->Options Dialog.
16+
In addition to the regular colors, you'll find "Visual D Disabled ..." colors for the code disabled
1717
through version statements and "Visual D Token String ..." colors for the code in token strings.)
1818
$(LI underlining of syntax errors (no semantic analysis done)
1919
$(IMG_CENTER images/syntaxerror.png)
2020
)
2121
)
2222

23-
$(P The colorizer can be configured in the "Colorizer" setup page of the language settings in
23+
$(P The colorizer can be configured in the "Colorizer" setup page of the language settings in
2424
Tools->Options->Text Editor->D->Colorizer: )
2525

2626
$(IMG_CENTER images/editor-options.png)
2727

28-
$(P User defined types have there own color settings. You can also manipulate other identifiers by assigning them
29-
a different color category: if prefixed with one of the section names, they will be highlighted accordingly.
28+
$(P User defined types have there own color settings. You can also manipulate other identifiers by assigning them
29+
a different color category: if prefixed with one of the section names, they will be highlighted accordingly.
3030
The available color categories are: )
3131

3232
$(UL
@@ -65,8 +65,8 @@ $(UL
6565
expansions from the text buffer or JSON browse information will be added.
6666
)
6767
$(LI Expansions from text buffer:
68-
completion will show identifiers in the vicinity of the caret from the same buffer
69-
(default short-cut Ctrl-Space). If no matching identifier is found or if you press the short-cut
68+
completion will show identifiers in the vicinity of the caret from the same buffer
69+
(default short-cut Ctrl-Space). If no matching identifier is found or if you press the short-cut
7070
again, identifiers from JSON files are also displayed.
7171
)
7272
$(LI Expansions from JSON browse information:
@@ -83,18 +83,18 @@ $(UL
8383
$(LI Use semantic analysis for "Goto Definition":
8484
goto definition (default short-cut F12) can either request the location of the definition of
8585
a symbol from the semantic engine or takes information from compiler generated JSON files.
86-
A successful build with JSON output enabled is necessary for the laytter. JSON files can also
87-
be precompiled and placed into the directories given in the $$(DDLINK GlobalOptions,global options).
88-
If there are multiple
89-
definitions for the identifier at the caret position, the $(DDLINK Search,Search Window) will show up.
86+
A successful build with JSON output enabled is necessary for the laytter. JSON files can also
87+
be precompiled and placed into the directories given in the $$(VDLINK GlobalOptions,global options).
88+
If there are multiple
89+
definitions for the identifier at the caret position, the $(VDLINK Search,Search Window) will show up.
9090
)
9191
$(LI Use Alexander Bothe's D parsing engine:
92-
Use the semantic engine that also powers Mono-D and D-IDE. It is more powerful than the
92+
Use the semantic engine that also powers Mono-D and D-IDE. It is more powerful than the
9393
engine that is part of Visual D. You must have installed it from within the Visual D installer.
9494
)
9595
)
9696

97-
$(P Triggering completion an import statement will always complete the token from the files and folders available
97+
$(P Triggering completion an import statement will always complete the token from the files and folders available
9898
in the import directories.
9999
$(IMG_CENTER images/import_completion.png)
100100
)
@@ -106,34 +106,34 @@ $(UL
106106
$(LI smart indentation will indent nicely after pressing Return. )
107107
$(LI comment/uncomment a selection of lines)
108108
$(LI highlight/jump-to matching braces (default shortcut Ctrl-$(ACUTE)))
109-
$(LI code snippets: let's you select from a list of snippets, some of them allowing token
110-
replacements (default shortcut Ctrl-K Ctrl-X). You can also insert code-snippets by writing its
111-
shortcut, then pressing the key for command "Edit.!InvokeSnippetFromShortcut". For example,
109+
$(LI code snippets: let's you select from a list of snippets, some of them allowing token
110+
replacements (default shortcut Ctrl-K Ctrl-X). You can also insert code-snippets by writing its
111+
shortcut, then pressing the key for command "Edit.!InvokeSnippetFromShortcut". For example,
112112
shortcut "for" yields
113113
$(IMG_CENTER images/codesnippet.png)
114114
)
115-
$(LI parameter info tooltips (default short-cut Ctrl-Shift-Space) showing function prototype and
116-
highlighting current position in argument list. As with "goto definition" this feature relies
115+
$(LI parameter info tooltips (default short-cut Ctrl-Shift-Space) showing function prototype and
116+
highlighting current position in argument list. As with "goto definition" this feature relies
117117
on JSON files being generated.
118118
$(IMG_CENTER images/parameterinfo.png)
119119
)
120-
$(LI show scope in status line: to avoid navigating through a larger file to figure out what
121-
class the current function belongs to, command "VisualD.ShowScope" displays the class, function,
120+
$(LI show scope in status line: to avoid navigating through a larger file to figure out what
121+
class the current function belongs to, command "VisualD.ShowScope" displays the class, function,
122122
etc. at the caret position:
123123
$(IMG_CENTER images/showscope.png)
124124
This command is also accessible from the Visual D menu, but it is best to assign it to some keyboard shortcut.
125125
)
126126
$(LI Outlining of curly braced declarations and statements and multi-line comments
127127
$(IMG_CENTER images/outlining.png)
128-
Automatic outlining can be disabled on the global configuration page
129-
"Tools->Options->Text Editor->D->Colorizer". Using command "Outlining->Collapse to Definitions"
128+
Automatic outlining can be disabled on the global configuration page
129+
"Tools->Options->Text Editor->D->Colorizer". Using command "Outlining->Collapse to Definitions"
130130
will enable it for the current text buffer.
131131
)
132-
$(LI Two commands are added to the "Edit->Outlining" menu: "Collapse unittests" will fold away
133-
unittest blocks that might obfuscate the actual code if they become excessive. "Collapse disabled code"
132+
$(LI Two commands are added to the "Edit->Outlining" menu: "Collapse unittests" will fold away
133+
unittest blocks that might obfuscate the actual code if they become excessive. "Collapse disabled code"
134134
will hide code blocks actually not compiled due to version or debug conditions helping you concentrate on
135135
the active code.)
136-
$(LI show the clipboard ring in a context menu to paste from. This operation is invoked by
136+
$(LI show the clipboard ring in a context menu to paste from. This operation is invoked by
137137
the "Edit->Cycle Clipboard Ring" command.
138138
$(IMG_CENTER images/pastemenu.PNG)
139139
)

doc/GlobalOptions.dd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Ddoc
22

3-
$(P When starting Visual Studio for the first time after installation of Visual D, you might
3+
$(P When starting Visual Studio for the first time after installation of Visual D, you might
44
want to check the global settings that can be reached from the Menu Tools -> Options -> Projects:
55
)
66

@@ -29,12 +29,12 @@ $(IMG_CENTER images/dmd_directories.png)
2929
$(BR)
3030
$(UL
3131
$(LI Install path: The path to the compiler installation folder you entered within the installer.
32-
$(UL
33-
$(LI DMD: this is not the path to the executable dmd.exe, but the folder that contains the full installation so
32+
$(UL
33+
$(LI DMD: this is not the path to the executable dmd.exe, but the folder that contains the full installation so
3434
that the compiler is found as $(LESS)DMD install path$(GREATER)\windows\bin\dmd.exe )
35-
$(LI GDC: this is not the path to the executable gdc.exe, but the folder that contains the full installation so
35+
$(LI GDC: this is not the path to the executable gdc.exe, but the folder that contains the full installation so
3636
that the compiler is found as $(LESS)DMD install path$(GREATER)\bin\gdc.exe )
37-
$(LI LDC: this is not the path to the executable ldc.exe, but the folder that contains the full installation so
37+
$(LI LDC: this is not the path to the executable ldc.exe, but the folder that contains the full installation so
3838
that the compiler is found as $(LESS)DMD install path$(GREATER)\bin\ldc2.exe )
3939
)
4040
)
@@ -71,8 +71,8 @@ $(UL
7171
$(LI any variable from the system environment enclosed in $(DOLLAR)() )
7272
)
7373

74-
$(P Please note that you'll also find a new entry "D" in the Text Editor branch to setup
75-
$(DDLINK Editor,syntax highlighting) and more. )
74+
$(P Please note that you'll also find a new entry "D" in the Text Editor branch to setup
75+
$(VDLINK Editor,syntax highlighting) and more. )
7676

7777
Macros:
7878
TITLE=Global Options

doc/VersionHistory.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ $(H2 2013-11-02 Version 0.3.37)
366366
$(LI changed license to Boost)
367367
)
368368

369-
$(H2 2013-05-10 $(DDLINK News36,Version 0.3.36))
369+
$(H2 2013-05-10 $(VDLINK News36,Version 0.3.36))
370370
$(UL
371371
$(LI added debug settings to new DMD/GDC project template )
372372
$(LI regressions caused by switching to installation as VS2010/VS2012 extension:

doc/news36.dd

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Ddoc
22

3-
$(P The latest release 0.3.36 of Visual D included a considerable number of bug fixes and improvements
4-
(you can find all of them listed in the $(DDLINK VersionHistory,history)), but I'd like to detail on a few
3+
$(P The latest release 0.3.36 of Visual D included a considerable number of bug fixes and improvements
4+
(you can find all of them listed in the $(VDLINK VersionHistory,history)), but I'd like to detail on a few
55
bigger highlights.
66
)
77

@@ -13,26 +13,26 @@ the current D source file through rdmd which will pick up imported modules autom
1313
and add them to the compilation. If the file is part of a project in the solution
1414
the current compiler settings will be used, otherwise the defaults from the !ConsoleApp
1515
project template are taken. You can add other options in Visual D's global
16-
project settings.
16+
project settings.
1717
)
1818

1919
$(IMG_CENTER images/compile_and_run_opt.png)
2020

2121
$(P The standard is "-unittest --main" so after successfully building the
22-
source file to an executable ("--main" adds an empty main function to the source to automatically create a valid executable), your unit tests will run and you will see
22+
source file to an executable ("--main" adds an empty main function to the source to automatically create a valid executable), your unit tests will run and you will see
2323
the result in the output pane.
2424
)
2525

2626
$(P [Actually, while writing this text a number of issues have been fixed and improvements
27-
have been made, so please try the latest release candidate for next version of Visual D
28-
from the download folder (0.3.37rc1 as of now). Especially, it will remove some of the
27+
have been made, so please try the latest release candidate for next version of Visual D
28+
from the download folder (0.3.37rc1 as of now). Especially, it will remove some of the
2929
command line options used to call rdmd that make it crash pretty often.]
3030
)
3131

3232
<table><tr><td valign="top" width="45%">
3333
$(P If you add "-cov" to the command line aswell the executable will be instrumented to record
34-
the source code lines that have been executed and will mark the lines that have
35-
code generated but are never executed. This information is written into files named as the
34+
the source code lines that have been executed and will mark the lines that have
35+
code generated but are never executed. This information is written into files named as the
3636
source files but with extension ".lst". If you enable option "Colorize Coverage" in
3737
the Visual D colorizer settings (easily reachable through the new entry in the Visual D
3838
menu), these lines will be highlighted in the editor. The highlighting will not show
@@ -45,12 +45,12 @@ $(D assert(fib(19) == 4181);)
4545
to the unittest, and run the unittest again, all lines will become green.
4646
)
4747

48-
$(P If you start editing the source file Visual D will try to keep coverage information in sync.
49-
If you want to get rid of the coverage coloring, just resave the source file.
48+
$(P If you start editing the source file Visual D will try to keep coverage information in sync.
49+
If you want to get rid of the coverage coloring, just resave the source file.
5050
Visual D will assume the coverage is invalid then and stop displaying it.
5151
)
5252

53-
$(P If you don't want syntax highlighting from coverage generated .LST files, you can disable
53+
$(P If you don't want syntax highlighting from coverage generated .LST files, you can disable
5454
it by unchecking the respective option on the Tools->Options->Text Editor->D->Colorizer page.
5555
)
5656
</td><td width="55%">
@@ -67,9 +67,9 @@ $(H1 New code completion engine by Alexander Bothe)
6767
$(P While Visual D has been running a semantic analysis for about a year now to
6868
support code completion and type information in tool tips, I didn't have much time
6969
to complete it to support all aspects of the D programming language. It is especially
70-
lacking on topics like template instantiation, function overload resolution and
70+
lacking on topics like template instantiation, function overload resolution and
7171
unified function call syntax (UFCS). Also, compile time function evaluation (CTFE) is
72-
pretty incomplete.
72+
pretty incomplete.
7373
Due to its pretty large memory foot print the
7474
stop-the-world garbage collector has been interrupting the source code editing to
7575
inacceptable degrees, so the analyzer had been
@@ -87,24 +87,24 @@ $(P Alex has put much more effort into making the semantic
8787
analysis complete, and it obviously does it more efficiently. I wrapped the library
8888
as a local COM server implementing the same interfaces as Visual D's engine (having to do
8989
this in C# was a bit of a downer) and just using a different factory now allows switching
90-
between the two. Right now, Visual D's engine is the default, but you can select
91-
Alex's engine by enabling the respective checkbox in the Intellisense
92-
settings page (there is a new menu entry for faster access). It provides UFCS
90+
between the two. Right now, Visual D's engine is the default, but you can select
91+
Alex's engine by enabling the respective checkbox in the Intellisense
92+
settings page (there is a new menu entry for faster access). It provides UFCS
9393
expansion and also displays DDoc help strings in tool tips.
9494
)
9595

9696
$(P There is currently work being done on the D front end implemented by DMD
9797
to be converted from C++ to D, bringing it within reach of using it as a library for IDEs.
9898
This might produce
99-
another semantic engine in the future which easily keeps in lock step with the latest
99+
another semantic engine in the future which easily keeps in lock step with the latest
100100
compiler updates.
101101
)
102102

103103
$(H2 LDC support)
104104

105105
$(P LDC, the D compiler built on top of the LLVM compiler infrastructure is getting
106106
close to being useful on Windows aswell (at least on Win64 the longest standing
107-
blocker exception handling is starting to work). You can grab pre-compiled binaries
107+
blocker exception handling is starting to work). You can grab pre-compiled binaries
108108
here: http://www.redstar.de/ldc/LDC.zip (after extracting to any directory just update
109109
the paths specified in LDC2\etc\ldc2.conf).
110110
In the Visual D project options, path settings for the three major compilers have been
@@ -117,8 +117,8 @@ General page of your project's property page.
117117

118118
$(IMG_CENTER images/ldc_compiler.png)
119119

120-
$(P Please be aware that both LDC for Windows aswell as the Visual D support for
121-
it are pretty experimental, so expect some glitches. Known issue: there is no debug
120+
$(P Please be aware that both LDC for Windows aswell as the Visual D support for
121+
it are pretty experimental, so expect some glitches. Known issue: there is no debug
122122
information in the built executable that can be used by the VS debugger.
123123
)
124124

doc/visuald.ddoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ SELF_PATH =
88
LAYOUT_SUFFIX=
99
$(SCRIPTLOAD js/run-main-website.js)
1010

11+
VDLINK=$(LINK2 $1.html, $2)
1112
IMG = <img src="$0" />
1213
IMG_CENTER = <div align="center"><img src="$0" /></div>
1314
TABLE_NOBORDER = <table style="border-width: 0px 0">$0</table>

0 commit comments

Comments
 (0)