@@ -40,35 +40,14 @@ Then you can travel back to 1980 when things were actually good[^reagan].
40
40
41
41
## Walkthrough
42
42
43
- We're going to try out a couple of open source[ ^ oss ] IDEs that run on Linux.
44
43
Usually when we connect to a remote Linux machine, all we need is a shell, and PuTTY does everything we need.
45
44
For this lab, we're going to need to setup X-forwarding as well.
46
45
If you haven't already, be sure to reference the appendix on [ X-forwarding] .
47
46
48
- Before lab, make sure you're able to start the two IDEs we will be using:
49
-
50
- - Geany (` geany ` ) should look like Figure \ref{geany-startup}
51
- - Code::Blocks (` codeblocks ` ) should look like Figure \ref{codeblocks-startup}
52
-
53
- ![ Geany \label{geany-startup}] ( 06/geany.png ) { width=60% }
54
-
55
- ![ Code::Blocks \label{codeblocks-startup}] ( 06/codeblocks.png ) { width=60% }
56
-
57
- During your lab session, you'll be exploring some of the features of each of these IDEs.
58
47
59
48
\newpage
60
49
## Questions
61
50
62
- 1 . Click the "Build" drop-down menu in Geany. What are the sub-menu options?
63
-
64
- Note that we want to include the grayed-out options, too.
65
- Hint: there are seven of them.
66
- \vspace{10em}
67
-
68
- 2 . Click the "Help" drop-down menu in Code::Blocks. What are the sub-menu options?
69
-
70
- Don't worry about sub-menus.
71
- Hint: there are three of them.
72
51
\vspace{10em}
73
52
\newpage
74
53
@@ -78,40 +57,9 @@ During your lab session, you'll be exploring some of the features of each of the
78
57
### General Tips
79
58
80
59
- Make sure you start Xming before you try to forward any X11 windows!
81
- - You won't be able to use bash within the shell that's running ` geany ` or ` codeblocks ` .
60
+ - You won't be able to use bash within the shell that's running ` codeblocks ` .
82
61
You may find it useful to keep a couple of PuTTY windows open while you work.
83
62
84
- ### Geany
85
-
86
- #### Troubleshooting
87
-
88
- - If geany complains that it’s unable to open its shell...
89
- 1 . Go to \menu{Edit > Preferences > Tools}
90
- 2 . Change Terminal from ` x-terminal-emulator -e "/bin/sh %c" ` to ` xterm -e "/bin/sh %c" `
91
- 3 . Save your changes
92
-
93
- #### Geany Features
94
-
95
- - \keys{F9} Builds the project
96
- - \keys{F5} Runs the project
97
-
98
- #### Building with Geany
99
-
100
- It doesn't work so well for multi-file projects.
101
-
102
- After you create a project...
103
-
104
- - Go to \menu{Project > Properties > Build}
105
- - Find the "Build" command (` g++ -Wall -o "%e" "%f" ` )
106
- - Change it to ` g++ -Wall -o "%e" *.cpp `
107
-
108
- #### Writing code with Geany
109
-
110
- - \keys{\ctrl + t} -- Go to function implementation
111
- - \keys{\ctrl + space} -- Show completions.
112
- - Set space preference to "Spaces" in \menu{Edit > Preferences > Editor > Indentation}
113
- - You can auto-close brackets and parentheses as well.
114
-
115
63
### Code::Blocks
116
64
117
65
#### Troubleshooting
@@ -138,11 +86,6 @@ After you create a project...
138
86
139
87
## Further Reading
140
88
141
- ### Geany
142
-
143
- - Geany Project Homepage: [ http://www.geany.org/ ] ( http://www.geany.org/ )
144
- - Geany Plugins: [ http://plugins.geany.org/downloads.html ] ( http://plugins.geany.org/downloads.html )
145
-
146
89
### Code::Blocks
147
90
148
91
- Code::Blocks Project Homepage: [ http://www.codeblocks.org ] ( http://www.codeblocks.org )
0 commit comments