4 ms·
FYI – you can go to github.dev (or press "." while browsing any repository) to get the same VS Code online experience, additionally with the repo automatically
by paxys 3y ago
FYI – you can go to github.dev (or press "." while browsing any repository) to get the same VS Code online experience, additionally with the repo automatically loaded into it.
Something else I find very confusing is that vscode.dev & github.dev are both free and run the editor fully locally in your browser. Github Codespaces on the other hand provisions a VM behind the scenes so you can run containers, build tooling and whatever else alongside the editor. That one charges by the hour.
- downvotetruth 3y agoDoes not appear to work in FF Edit: Just tried with 115 on an Ubuntu install and that does work with both normal & ESR 102.6. In console, get error: "No measure found in Performance API for "start.block: Bootstrap" and a 404 warning for assets.github.com/static/primer.css
- LatticeAnimal 3y agoWorks for me in FF 115.0.2 and has worked for many months on previous versions.
- easton 3y agoI use it at work in FF. Maybe you have an extension installed that’s intercepting the “.”?
- orangea 3y agoYou have to be logged in to github for it to work.
- deleted 3y ago[deleted]
- downvotetruth 3y agoThe issue is that when resistFingerprinting is set to true in about:config it results in the error and stopping the JS redirect to the login screen. Interestingly, this also appears to be why windy.com broke a few weeks ago.
- minimaxir 3y agogithub.dev now has a "Continue With..." call-to-action which spins up a Codespace, so that differentiates it a bit.
- westurner 3y agoFrom https://github.com/jupyterlite/jupyterlite/issues/1086#issuecomment-1619331746 https://github.com/jupyterlite/jupyterlite/issues/1086#issue... : vscode://vscode.git/clone?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fvscode-vsce.git vscode://file/path/to/file/file.ext:55:20 vscode://file/path/to/project/ https://vscode.dev/github/organization/repo https://vscode.dev/github/python/cpython https://vscode.dev/github/python/cpython https://vscode.dev/azurerepos/organization/project/repo https://vscode.dev/azurerepos/organization/project/repo https://vscode.dev/azurerepos/organization/project/repo
- dmix 3y agoCan you share a VSCode profile across a team somehow? We have a frontend with typescript + vue (volar) and it'd be great to have a 'standard' web VSCode interface we can share across the team as the baseline working version. So we don't have to worry about dependencies or someone seeing different error messages than others. ESlint is another one. Our devs use 3 different IDEs so it'd be good for them to have one to compare to with having to screenshare.
- coder543 3y agoMost VS Code settings can optionally be saved into the local working directory under a .vscode/ directory, which can be committed to a repo. When you open a workspace in VS Code, go to Settings. You'll see two tabs at the top: "User" and "Workspace". If you click on "Workspace", any settings you change will be saved into .vscode/ in the current directory. You could also use a `devcontainer.json` to personalize the GitHub Workspace even further, so when people open up a Workspace, things are fully configured: https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers https://docs.github.com/en/codespaces/setting-up-your-projec... In VS Code, once you have an extension installed, you can go to the Extensions tab, click the more options button on a particular extension, and click "add to devcontainer.json", which seems like it would ensure that it is part of the Workspace by default.
- dmix 3y agoThat's perfect, thank you.
- ohthehugemanate 3y agoMy only complaint about vscode remote containers and codespaces is that they ruined me for every other IDE, especially in a team context. I can never go back to managing dependencies for every damn language/version on my local machine, just to be able to run the linters/tests/tools I need to develop well in that language/version. With a team, I know that everyone has the same versions of everything unless they've specifically created an exception. New team members start up the IDE with all their support tooling already in place, automated tests runnable, etc etc. Paired with codespaces, when I need to make a quick edit as a part of PR review or just to tweak something, instead of the GH text editor I get MY IDE, already configured the way I like it with an identical run environment. I've used many IDEs over the years, from tricked out Vim to eclipse and jetbrains... but codespaces killed them all for me. I'm sure it's not for everyone but it is amazing for me.
- thunderbong 3y agoOnly works of you're logged in.
- mattigames 3y agoNot really unexpected is it
- o1y32 3y agoEven a readonly version is very useful. The tree-based file browser on the left and in-editor navigation are helpful for browsing the code. Recent github updates added a tree to the file view, making this less important, but the vscode experience is still superior.
- jerpint 3y agoDo you mean to say that changes I make from GitHub.dev are reflected on my local machine?
- naikrovek 3y agoif you commit those changes back to your repo, and pull them to your local machine, yes
- WorldMaker 3y agoPlus any VS Code settings changes you make if you have VS Code Settings Sync active.
- v7engine 3y agoLPT: You can get Github Codespaces for free if you have a GitHub Student Developer Pack (which you can get one if you are a student)
- jmhammond 3y agoAnother LPT: Also, you can get Github Codespaces for free if you're a teacher!
- WorldMaker 3y agoIt's such an interesting benefit of VSCode being an Electron app. It runs as a true PWA on vscode.dev/github.dev. Other fun tips: - The '.' shortcut to github.dev works from Pull Requests too and puts you straight into a PR review mode. - For those stuck in Azure Repos, GitHub's increasingly zombie cousin, the '.' shortcut also works from any Files view. (Though not PRs.) It uses vscode.dev directly rather than github.dev.
- swapball 3y agoYou do get something like 60 hours free a month with Codespaces (with lowest CPU/memory), which is fairly generous. Also - we get that the difference between all these things can be confusing. Here's a post laying out the vision for vscode.dev and why it exists at all: https://code.visualstudio.com/blogs/2021/10/20/vscode-dev https://code.visualstudio.com/blogs/2021/10/20/vscode-dev