ryanraposo / codeui

Customize your color theme for VS Code.
https://marketplace.visualstudio.com/items?itemName=ryanraposo.codeui
MIT License
141 stars 2 forks source link

Webpacked the extension #19

Closed usernamehw closed 3 years ago

usernamehw commented 3 years ago

I thought that this extension had a lot of files, but it were just .gif files inside, but it was too late to stop, so here we are.

Reduces the size of the extension and the number of files.

Removed copy-paste dependency and used vscode.env.clipboard.writeText() instead.

usernamehw commented 3 years ago

Is it even working? The copy button and the file paths?

ryanraposo commented 3 years ago

I still need to test this and the webpack, but I assumed you tried it out. Didn't know about vscode.env.clipboard.writeText(), nice to drop a dependency if those methods work out.

ryanraposo commented 3 years ago

@usernamehw I need to set up the workflow again and get reacquainted, forgive me for some hiccups moving forward.

usernamehw commented 3 years ago

No worries.

ryanraposo commented 3 years ago

@usernamehw I'm having trouble debugging since the webpack, any ideas?

Edit:

The debug task is hanging on 'Building' in the status bar, and its not showing the extension host.

Output from Task - Watch is just:

DONE  Compiled successfully in 2716ms                               12:45:04 PM
   23 modules
usernamehw commented 3 years ago

Damn... The "preLaunchTask" in launch.json never worked for me. Does the debugging work if you run npm run watch in terminal and delete "preLaunchTask". If that's not working or not good enough, you can revert the change.

ryanraposo commented 3 years ago

Damn... The "preLaunchTask" in launch.json never worked for me. Does the debugging work if you run npm run watch in terminal and delete "preLaunchTask". If that's not working or not good enough, you can revert the change.

Yeah no luck, gunna revert.