kat-tax / vslite Goto Github PK
View Code? Open in Web Editor NEWMore than Monaco, less than VSCode
Home Page: https://vslite.dev
License: MIT License
More than Monaco, less than VSCode
Home Page: https://vslite.dev
License: MIT License
https://slides.com/evanyou/semicolons
Tl;Dr: In modern JavaScript they are never a problem. It just makes your code pointlessly wet.
{
"./section/ComponentName.tsx": "code...",
}
It's not too difficult to build our own VSCode.dev. Which will have search and replace, good formatters, etc
... and be far closer to supporting The TS Language server for web and other extensions.
We could also fork Theia or Gitlab's Web IDE
when I click on a file in the treeview, that file becomes the active tab in the editor. When I click on a tab in the dockview the active file in the treeview becomes active. You end up with typing in the wrong file.
It looks like I need to find/create a place to call panel.api.setActive();
like happens in panel.ts when we open a file from the treeview.
Hot take: it would be easier and better to support a low weight gecko style coding LLM than to deal with general extension support, to then get Intellisense for Web, which is very limited even in github.dev, it's a little better in vscode.dev
This reduces the need for everything else, including the TS Language server, volar, Intellisense light... Etc.
It would run as a worker providing suggestions, I suggest davinci or gecko. We would stand out as the only ones doing that.
This is a proposal how to get secrets working
- '^github.com/kat-tax/.*':
- OPENAI_KEY: '...'
- TWILIO_KEY: '...'
- '^gitlab.com/':
- SERVICE_ACCOUNT: 'โฆ'
- 'nsa.com/area-51-crm.git'
- $match: 'exatct'
- ALIEN_OS_KEY: '...'
vslite.secrets.yaml
virtual file in the root directory. The file could actually be in /tmp/
.default to exact match for performance. Web containers have zero access to master local storage by default... So this is safe ceteris paribus.
Settings Sync could be accomplished with a browser extension (100KB):
I'll investigate this further... assign to me.
https://vslite.dev/~/[email protected]/git/friggin-cat-weather.git
It's the repo for https://glitch.com/~friggin-cat-weather
This works fine, https://vslite.dev/~/gitlab.com/vblip/g4c.git
and adding my user name causes an expected password error.
Example private repo with Gitlab repo-specific deploy key:
https://vslite.dev/~/gitlab+deploy-token-2130493:[email protected]/vblip/example-private.git
Example room url:
https://vslite.dev/#/fade_balcony_nimble_ribbon_mud
Initial work for this was completed in #21.
Neat project! ๐
How about adding support for git
commands?
This would be very intuitive - I'm always surprised when I instinctively type a git
command on StackBlitz, or attempt to npm install
from a git:
source, and it doesn't work. ๐
(Note that I couldn't immediately get g4c
to actually work on StackBlitz - the author says it should work, which presumably means it would work on WebContainers, but no luck yet. Very new project though. I opened an issue and asked.)
What else do you have planned? Just playing around for now, or do you have a loose roadmap in mind?
if pnpm is used, the dockview override would work... but touch isn't working, which means the override isn't being applied, which means Cloudflare is probably using npm and ignoring our lock file.
Its not a big deal right now, as our lockfile is not critical amd dockview 1.7.6 will come with touch support... but it could be a really annoying problem in the future.
See the delf deployment docks on how to fix it. For build template I used "none."
Just lost 10 minutes of notes... grrr
I don't love the way CloudFlow does it... StackBlitz does it better.
We should at least show a popup when there are unsaved changes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.