text
stringlengths
0
3.02k
[3/13/2024 3:08 PM] wildtang3nt
that's going to be almost impossible for anybody to debug
[3/13/2024 3:12 PM] g30
I thought it looked odd in the changed files. Any idea how I could fix that? I was using Notepad++ 😓
{Reactions}
😬
[3/13/2024 3:15 PM] wildtang3nt
another protip: if you're viewing your own github repos, pressing the `.` (period) key will open a VSCode Server instance in your repo, you can edit multiple files and commit them all at once instead of uploading through the GH UI
[3/13/2024 3:16 PM] g30
woah
[3/13/2024 3:16 PM] wildtang3nt
@G:30b try doing a find/replace all on each of your modified files
[3/13/2024 3:16 PM] wildtang3nt
replace [tab] with 4 spaces
[3/13/2024 3:16 PM] g30
okay
[3/13/2024 3:16 PM] wildtang3nt
hold on screenshot incoming
[3/13/2024 3:17 PM] g30
Looks good?
{Attachments}
https://cdn.discordapp.c…751fc25f26a382e&
[3/13/2024 3:19 PM] wildtang3nt
find/replace won't work nvm
[3/13/2024 3:19 PM] g30
In the "Find what" field, enter "\t" (without the quotes) to search for tab characters.
In the "Replace with" field, enter four spaces.
Click the "Replace All" button to replace all of the tab characters with four spaces.
{Reactions}
☝️
[3/13/2024 3:19 PM] g30
This won't suffice?
[3/13/2024 3:20 PM] wildtang3nt
@G:30b
1. Open the Command Palette: Press Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS to open the Command Palette.
2. Search for 'Indentation': Type Convert Indentation to Spaces in the Command Palette. This command will change the current file's indentation from tabs to spaces.
3. Set the Number of Spaces: After selecting the command, you might be prompted to choose how many spaces you want to use for each tab. Common choices are 2 or 4 spaces for JavaScript projects. Choose according to your project's style guide or personal preference.
4. Apply to Multiple Files (Optional): If you want to apply this change to multiple files across your project, you will need to repeat the process for each file or use a formatter like Prettier or ESLint with specific rules set up for spaces instead of tabs. These tools can be integrated into VSCode and can format your...
[3/13/2024 3:22 PM] g30
In the VsCode server instance?
[3/13/2024 3:22 PM] wildtang3nt
yes
[3/13/2024 3:22 PM] wildtang3nt
I only know vscode lol, I've never been a fan of notepad++
[3/13/2024 3:22 PM] wildtang3nt
I'm sure there's an equivalent method
[3/13/2024 3:23 PM] wildtang3nt
or a find/replace way to search tabs (couldn't figure it out quickly in vscode server, so pivoted to command method)
[3/13/2024 3:24 PM] g30
{Attachments}
https://cdn.discordapp.c…d57017e70975163&
[3/13/2024 3:24 PM] g30
Just ignore that?