Skip to content

Commit b4467d9

Browse files
committed
remove vscode tutorial, fold into dragdrop and cmake
1 parent 631a1cf commit b4467d9

5 files changed

Lines changed: 15 additions & 207 deletions

File tree

downloads/cmake_setup.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ <h2>Step 7 Write CMakeLists.txt</h2>
132132
add_executable(MySketch main.cpp)
133133
target_link_libraries(MySketch PRIVATE processing_cpp)</code></pre>
134134

135-
<h2>Step 8 Open MSYS2 MinGW 64-bit and navigate to your project</h2>
136-
<div class="warning-box"><strong>Important:</strong> Use MSYS2 MinGW 64-bit, not PowerShell or Command Prompt. The prompt should say MINGW64.</div>
137-
<pre><code>cd /c/Users/YourName/Desktop/MySketch</code></pre>
135+
<h2>Step 8 Open VS Code and the terminal</h2>
136+
<p>Open VS Code, go to <strong>File → Open Folder</strong> and select your <code>MySketch</code> folder. Open the integrated terminal with <code>Ctrl+`</code> and switch it to <strong>MSYS2 / MinGW64</strong> using the dropdown arrow next to the <code>+</code>.</p>
137+
<div class="warning-box"><strong>Important:</strong> Use the MinGW64 terminal, not PowerShell. The prompt should say MINGW64.</div>
138138

139139
<h2>Step 9 Configure</h2>
140140
<pre><code>cmake -B build -G "MinGW Makefiles"</code></pre>
@@ -202,10 +202,9 @@ <h2>Configure, build, and run</h2>
202202
</div>
203203

204204
<div class="next-steps">
205-
<a href="/downloads/dragdrop-setup.html">Want something simpler? Try Drag-and-Drop &rarr;</a>
206-
<a href="/downloads/vscode.html">Using VS Code? &rarr;</a>
207-
<a href="/reference">Browse the reference &rarr;</a>
208-
<a href="/examples">See more examples &rarr;</a>
205+
<a href="/downloads/dragdrop-setup.html">Want something simpler? Try Drag-and-Drop →</a>
206+
<a href="/reference">Browse the reference →</a>
207+
<a href="/examples">See more examples →</a>
209208
</div>
210209
</div>
211210
</div>

downloads/dragdrop_setup.html

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,11 @@ <h2>Step 4 Write your sketch</h2>
126126
Everything in the <a class="ref-link" href="/reference">reference</a> works the same way.
127127
</p>
128128

129-
<h2>Step 5 Open the right terminal</h2>
130-
<p>Click Start and search for <strong>MSYS2 MinGW 64-bit</strong>. Open it. The prompt or title bar should say <code>MINGW64</code>.</p>
131-
<div class="warning-box"><strong>Important:</strong> Do NOT use PowerShell or Command Prompt. They don't have <code>g++</code> and the build will fail immediately. It has to be MSYS2 MinGW 64-bit.</div>
129+
<h2>Step 5 Open VS Code and the terminal</h2>
130+
<p>Open VS Code, go to <strong>File → Open Folder</strong> and select your <code>MySketch</code> folder. Then open the integrated terminal with <code>Ctrl+`</code>.</p>
131+
<div class="warning-box"><strong>Important:</strong> The default terminal in VS Code on Windows is PowerShell, which doesn't have <code>g++</code>. Click the dropdown arrow next to the <code>+</code> in the terminal panel and select <strong>MSYS2 / MinGW64</strong> instead. The prompt should say <code>MINGW64</code>.</div>
132132

133-
<h2>Step 6 Navigate to your project</h2>
134-
<pre><code>cd /c/Users/YourName/Desktop/MySketch</code></pre>
135-
<p>Replace <code>YourName</code> and <code>Desktop</code> with wherever you actually saved the folder.</p>
136-
137-
<h2>Step 7 Run it</h2>
133+
<h2>Step 6 Run it</h2>
138134
<pre><code>./processing-cpp/run.bat</code></pre>
139135
<p>The first run takes about 15 seconds because it's compiling the engine. After that a window opens with an orange circle that follows your mouse. Every run after the first is much faster since the engine is already built.</p>
140136

@@ -161,8 +157,8 @@ <h2>Step 1 Install the tools (once only)</h2>
161157
<h2>Steps 2-4 Get the package and write your sketch</h2>
162158
<p>Same as Windows: download <strong>processing-cpp-dragdrop.zip</strong>, rename the extracted folder to <code>processing-cpp</code>, create a <code>MySketch</code> folder, and write <code>main.cpp</code> with the same code as above inside it.</p>
163159

164-
<h2>Step 5 Navigate to your project</h2>
165-
<pre><code>cd ~/Desktop/MySketch</code></pre>
160+
<h2>Step 5 Open VS Code and the terminal</h2>
161+
<p>Open VS Code, go to <strong>File → Open Folder</strong> and select your <code>MySketch</code> folder. Open the integrated terminal with <code>Ctrl+`</code> (or <code>Cmd+`</code> on macOS).</p>
166162

167163
<h2>Step 6 Run it</h2>
168164
<pre><code>./processing-cpp/run.sh</code></pre>
@@ -192,10 +188,9 @@ <h2>Steps 2 onwards same as macOS</h2>
192188
</div>
193189

194190
<div class="next-steps">
195-
<a href="/downloads/cmake-setup.html">Prefer CMake? See the CMake setup &rarr;</a>
196-
<a href="/downloads/vscode.html">Using VS Code? &rarr;</a>
197-
<a href="/reference">Browse the reference &rarr;</a>
198-
<a href="/examples">See more examples &rarr;</a>
191+
<a href="/downloads/cmake-setup.html">Prefer CMake? See the CMake setup →</a>
192+
<a href="/reference">Browse the reference →</a>
193+
<a href="/examples">See more examples →</a>
199194
</div>
200195
</div>
201196
</div>

downloads/index.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@
7474
.dl-howto { font-size: 13px; color: #777; border-bottom: 1px solid #ccc; padding-bottom: 1px; }
7575
.dl-howto:hover { color: #111; border-bottom-color: #111; }
7676

77-
.vscode-note { border-top: 1px solid #e0e0e0; padding-top: 1.75rem; margin-top: 1rem; }
78-
.vscode-note p { margin-bottom: 0.5rem; }
7977

8078
footer { border-top: 1px solid #e0e0e0; padding: 2rem; text-align: center; font-size: 13px; color: #888; }
8179
@media (max-width: 768px) {
@@ -147,10 +145,6 @@ <h3>CMake</h3>
147145
</div>
148146
</div>
149147

150-
<div class="vscode-note">
151-
<p><strong>Using an editor like VS Code?</strong> See the full walkthrough for setting up either download in an external editor and build system.</p>
152-
<p><a href="/downloads/vscode.html" style="border-bottom:1px solid #ddd;">Read the VS Code setup tutorial →</a></p>
153-
</div>
154148
</div>
155149
</div>
156150
<footer><p>C++ Mode for Processing</p></footer>

downloads/vscode.html

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

tutorials/index.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,6 @@ <h2>Using the header library in your own C++ project</h2>
108108
<div class="tc-arrow"></div>
109109
</a>
110110

111-
<a class="tutorial-card" href="/downloads/vscode.html">
112-
<div class="tc-body">
113-
<div class="tc-title">Using C++ Mode in VS Code</div>
114-
<div class="tc-desc">Covers both the drag-and-drop and CMake setups specifically for VS Code, including the CMake Tools extension.</div>
115-
</div>
116-
<div class="tc-arrow"></div>
117-
</a>
118111
</div>
119112

120113
<div class="help-box">

0 commit comments

Comments
 (0)