Title: Ability to open a file directly using a URL · Issue #1964 · coder/code-server · GitHub
Open Graph Title: Ability to open a file directly using a URL · Issue #1964 · coder/code-server
X Title: Ability to open a file directly using a URL · Issue #1964 · coder/code-server
Description: We're trying to setup a online developmenr environment for our users - and are trying code-server. We're using it for static HTML pages for website development, and I was hoping to add a button on the HTML pages which says "Edit this pag...
Open Graph Description: We're trying to setup a online developmenr environment for our users - and are trying code-server. We're using it for static HTML pages for website development, and I was hoping to add a button on ...
X Description: We're trying to setup a online developmenr environment for our users - and are trying code-server. We're using it for static HTML pages for website development, and I was hoping to add a bu...
Opengraph URL: https://github.com/coder/code-server/issues/1964
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ability to open a file directly using a URL","articleBody":"We're trying to setup a online developmenr environment for our users - and are trying code-server.\r\n\r\nWe're using it for static HTML pages for website development, and I was hoping to add a button on the HTML pages which says \"Edit this page on code-server\".\r\n\r\nI was hoping to setup that up, I could provide the path / URL to code-server ... something like:\r\n`mycodeserver.domain.com/?file=project/README.md`\r\nAnd it would open that particular file in the code-server when the button is clicked..\r\n\r\nI couldn't find any documentation or notes about whether this is possible right now\r\n\r\nNOTE: I did see https://github.com/cdr/code-server/issues/1960 - but it didn't seem the similar\r\n\r\n*Edit*: Should also support line and column syntax, for example: `http://code-server:port/path=/dir/sub/file.ext:line:col`","author":{"url":"https://github.com/AbdealiLoKo","@type":"Person","name":"AbdealiLoKo"},"datePublished":"2020-08-12T05:46:27Z","url":"https://github.com/coder/code-server/issues/1964"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:51b865f4-ffb8-baa9-adcf-ee343ca21eed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DA4:36A3E:276675E:34954FB:6B01B320 |
| html-safe-nonce | c26137396bf039828b929e4e54a0a487551ed83294f8d5dd8224b4f4253f2b0a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REE0OjM2QTNFOjI3NjY3NUU6MzQ5NTRGQjo2QjAxQjMyMCIsInZpc2l0b3JfaWQiOiIxMzg0Mjk3NTQ5MzI1Nzc1NjQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5bf6f38090e96b9fa3c8e38a7aad2df8115002e58c2dc5d51e712958863ed8e5 |
| hovercard-subject-tag | issue:677408864 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/1964/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da892f75023c46beda1ec3277e9497d80bed16c8a0e27f6a2ddf8709d633462c/coder/code-server/issues/1964 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da892f75023c46beda1ec3277e9497d80bed16c8a0e27f6a2ddf8709d633462c/coder/code-server/issues/1964 |
| og:image:alt | We're trying to setup a online developmenr environment for our users - and are trying code-server. We're using it for static HTML pages for website development, and I was hoping to add a button on ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbdealiLoKo |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width