Comments (17)
OK awesome, thanks!
from codetour.
Confirmed also in WSL - you can record steps when editing a remote SSH project in WSL (Windows Subsystem for Linux) v1 under Windows 10 but the steps won't playback.
The extensions installs itself OK on the remote, and allows you to 'record' but nothing plays back when you hit the play button on the tour, or when you double click on any individual step of the tour.
Hopefully the merge fixes this in WSL too?
from codetour.
@alefragnani Can you confirm that CodeTour is still working for you when doing container-based development? Though in your case, you didnāt install the extension in the container right?
@abulka Seems like we might need a new bug to track this issue. To confirm: did you install CodeTour in the WSL context or locally?
from codetour.
I installed CodeTour in the WSL context only, and encountered the playback problem.
I then switched to another, local project, installed CodeTour locally, and it worked for that local project.
from codetour.
It's not fully working š¢ . @abulka reported that it's not being able to playback, but in my case, I wasn't able to record (playback worked perfectly). And you are right, I didn't install in the container, I used the local installation.
Then, I tested with the other releases, and noted that it stopped working with release 0.0.8. I used the Install Another Version..
command in VS Code.
I wasn't able to check the sources/debug the extension yet, to identify exactly where is the issue (probably tomorrow I could take a look). The 0.0.8 changelog says:
- Added the ability to associate a tour with a specific Git tag and/or commit, in order to enable it to be resilient to code changes
- Updated the tour recorder so that tours are automatically saved upon creation, and on each step/change_
Hope this helps
from codetour.
I could find the reason behind my scenario while trying to record tour. Itās cause by the new āGit tag/commit associationā feature.
Iām not sure why, but when connected to remotes, itās not being able to initialize the Git API (even being a Git repo). The code below returns null:
No git
api is available and when it calls promptForTourRef()
, it fails silently, instead of simply returning undefined
and continue the steps:
Simply adding a check for valid api
instance worked, but this is not a valid solution, because the remote folder, in my case, is a Git repo:
Hope this helps
from codetour.
@alefragnani In your case, is CodeTour installed on the UI or workspace side? I'm wondering if the problem is that CodeTour is running on the UI side, whereas your code (and the git data) is running on the workspace side.
from codetour.
@lostintangent Itās installed on the UI.
Iām not sure the problem is related to where the extension is installed, but on how it detects vscode.git
being installed. BTW, the vscode.git
extension itself is correctly installed (on UI) and enabled.
from codetour.
Could you try installing CodeTour in the remote workspace? I'm curious if it would work in that context.
from codetour.
Sure I can!
When installed in the remote workspace (using devcontainer.json
file) it worked.
Iām using Insiders release, btw.
from codetour.
Yeah I'm not sure if vscode.extensions.getExtension
works when the requesting extension is on the UI side, and the requested extension is on the remote/workspace side. CodeTour works fine locally, and it seems to work when installed in the remote workspace. But it seems like it has challenges when installed as a UI extension, and you're editing a remote workspace.
I'll check to see what the recommendation is for this.
from codetour.
Hm, do you mean the built-in extensions, like vscode.git
, are automatically installed on the remote? Maybe thatās why, when you look at extensionās viewlet, all built-in extensions are tagged as Extension is enabled on ācontainer-nameā, instead of This extension is enabled globally
from codetour.
I believe so yeah. That's why you can install CodeTour in the remote context, and it finds vscode.git
, without you having had to install it.
from codetour.
It makes sense, but if thatās the case, the remote development support (extensionKind
tag in package.json
) is not working as expected.
It is defined as [āworkspaceā, āuiā]
and workspace
means the extension runs on the remote machine. At least this is what I understand reading the docs.
from codetour.
That setting specifies that the extension can run in either the UI or workspace side. And the ordering indicates which one "wins" if the extension is installed in both.
That said, based on what we're discussing, it actually seems like CodeTour might need to just set this to ["workspace"]
, since it expects to be able to leverage Git metadata from the workspace.
from codetour.
I think you are right.
Below in the same docs page you have a better explanation, which says [āworkspaceā, āuiā]
just prefers workspace
but does not have any hard requirements.
Now, the extension requires Git, so a hard requirement was found š.
from codetour.
I see one small issue about taking that direction. The extension now must be installed on every remote, no matter which kind of workspace you have (Git or not).
Some could argue that the extension itself doesn't have a hard requirement on Git, but to the Git API provided by VS Code. At least, in this case, it's exactly how it is happening. You just require another extension. You don't require a Git lib/package.
from codetour.
Related Issues (20)
- Update Marketplace to have 0.0.59
- README.md: confusing mention of "rebase"
- DeprecationWarning: Buffer()
- Do you need onStartupFinished? HOT 1
- Toast notification to start tour does not appear for new users
- Visual Studio Community/Professional/Enterprise HOT 1
- Can't edit .html files
- Images in Markdown no longer render in GitHub Codespaces HOT 1
- šŖ Support regex for `selection` in `steps`
- JSON schema for `view` is too restrictive
- Change '*' Activation Event to 'OnStartupFinished' HOT 1
- v1.78.0 of VSCode imposes max-height of CodeTour step window HOT 3
- Referencing tours from other codebases HOT 1
- After adding some lines, you can't jump to the right place. HOT 1
- Show description in explorer view HOT 2
- Support Embedded Mermaid.js Diagrams in CodeTour-Flavored Markdown
- How to link exported tour file or gist link to local workspaceļ¼ HOT 1
- Single backtick syntax is not displayed correctly.
- auto update with changing codebase HOT 1
- Debug Console always shows errors open startup of Codetour HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codetour.