Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links to code.AMO should redirect to the corresponding file and line in VS Code #31

Open
abhn opened this issue Feb 5, 2024 · 3 comments
Labels
should-have Functionality or features that should ideally be present in Assay.

Comments

@abhn
Copy link

abhn commented Feb 5, 2024

We have documentation that points to lines of code in particular versions of add-ons, such as https://code.addons.mozilla.org/en-US/browse/123/versions/123/?allowSlowPages=true&path=main.js#I123

We'd like to set up a redirect such that this link is captured by VS code and it downloads and opens the said file and line number.

@eviljeff
Copy link
Member

We have documentation

Can you link to this documentation? We could just change it.

@abhn
Copy link
Author

abhn commented Feb 26, 2024

I meant internal documentation in various places like google docs.

We could just change it.

How would we go about this? As in, would the change be a manual one, or can we set up a redirect such that it turns into a VSC link that can open the right file and line (after downloading the add-on version, if required).

@eviljeff
Copy link
Member

I meant internal documentation in various places like google docs.

We could just change it.

How would we go about this? As in, would the change be a manual one

Yes, we literally change the links. It's not like these are externally accessible urls spread across the internet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
should-have Functionality or features that should ideally be present in Assay.
Projects
None yet
Development

No branches or pull requests

3 participants