Skip to content

Commit 9a200df

Browse files
authored
Merge pull request #34 from t-b/add-readme
Add readme
2 parents 7dcdc57 + b64800a commit 9a200df

File tree

7 files changed

+81
-39
lines changed

7 files changed

+81
-39
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
html
2+
README.html

INSTALL.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
## The CodeBrowser makes browsing through projects with multiple files and lots of functions easy, convenient and pleasant.
2+
3+
#### Requirements
4+
5+
- Igor Pro version 6.3.0 or later
6+
7+
#### Installation
8+
9+
1. Install Igor.
10+
2. Start Igor. This creates a folder called WaveMetrics in Documents. Close Igor.
11+
3. Extract the zip file into a folder somewhere on your disc.
12+
4. Create a link from `CodeBrowser-v*/procedures` to
13+
`Documents\WaveMetrics\Igor Pro [6-8] User Files\Igor Procedures`.
14+
5. Start Igor. You can now find `CodeBrowser/Open` in the main menu.
15+
16+
#### Features
17+
18+
- Shows all functions/macros from a procedure file including parameter
19+
types, return types and special properties like static and
20+
threadsafe.
21+
- Shows Menu/Constant/StrConstant/Structure entries.
22+
- Shows the structure name for window hook and background tasks for
23+
easier searching.
24+
- Allows jumping to the definition of these elements within the code by
25+
mouse and keyboard.
26+
- Optionally alphabetically sorted lists.
27+
- Shows function comments as tooltips (IP8 only).
28+
- Works with Independent Modules.
29+
30+
For reasons of ease-of-use the function declarations are displayed as
31+
`myFunction(var, str) -> var` for a function taking a variable and
32+
string parameter and returning a variable. Programmers might recognize
33+
this as being inspired by the trailing return types from C++11.
34+
35+
#### Navigation by keyboard
36+
37+
- <kbd>CTRL</kbd>+<kbd>0</kbd>: Open the panel.
38+
- Jump to the definition of the listbox selection with <kbd>.<kbd>
39+
- Pressing any character while the ListBox has the focus activates the
40+
first listbox entry which starts with that character.
41+
42+
#### Limitations
43+
44+
- No parameter types are shown for macros
45+
46+
#### Screenshot
47+
48+
![Screenshot](screenshot-panel.png)

create-release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
newVersion=1.1
66

7-
filesToWatch="procedures INSTALL.txt"
7+
filesToWatch="procedures README.md LICENSE"
88

99
if [ ! -z "$(git status -s --untracked-files=no $filesToWatch)" ]; then
1010
echo "Aborting, please commit the changes first"
@@ -29,3 +29,5 @@ cd releases && zip -m -z -q -r $zipFile $basename/* < ../internalVersion && cd .
2929
rmdir $folder
3030
rm internalVersion
3131

32+
# for igor exchange
33+
pandoc README.md -t html > README.html

examples-input-for-screenshots.ipf

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#pragma rtGlobals=3 // Use modern global access method and strict wave access.
22

3+
Menu "Don't look"
4+
"First entry", print "Hi"
5+
End
6+
7+
Constant myVariable = 4711
8+
StrConstant myString = "Hi there!"
9+
310
Function/S normalFunction()
411
End
512

@@ -15,3 +22,25 @@ End
1522
Macro MacroWithParameter(p1)
1623
variable p1
1724
EndMacro
25+
26+
Structure testStruct
27+
variable var
28+
EndStructure
29+
30+
Function MyNormalFunction(s)
31+
STRUCT testStruct &s
32+
End
33+
34+
Function MyWindowHook(s)
35+
STRUCT WMWinHookStruct &s
36+
37+
return 0
38+
End
39+
40+
/// @brief This task just burns your CPU
41+
///
42+
/// @param s background task structure
43+
Function TestTask(s)
44+
STRUCT WMBackgroundStruct &s
45+
return 0
46+
End

projectDesc.txt

Lines changed: 0 additions & 28 deletions
This file was deleted.

screenshot-panel.png

18.2 KB
Loading

0 commit comments

Comments
 (0)