Title: TypeScript - ability to rename/move file (refactoring) · Issue #10218 · microsoft/TypeScript · GitHub
Open Graph Title: TypeScript - ability to rename/move file (refactoring) · Issue #10218 · microsoft/TypeScript
X Title: TypeScript - ability to rename/move file (refactoring) · Issue #10218 · microsoft/TypeScript
Description: From @wallverb on August 8, 2016 13:58 VSCode Version: Code - Insiders 1.5.0-insider (dde41be, 2016-08-08T06:03:58.264Z) OS Version: Darwin x64 15.6.0 Steps to Reproduce: Code: // file test.ts export const test = 5 // file main.ts import...
Open Graph Description: From @wallverb on August 8, 2016 13:58 VSCode Version: Code - Insiders 1.5.0-insider (dde41be, 2016-08-08T06:03:58.264Z) OS Version: Darwin x64 15.6.0 Steps to Reproduce: Code: // file test.ts expo...
X Description: From @wallverb on August 8, 2016 13:58 VSCode Version: Code - Insiders 1.5.0-insider (dde41be, 2016-08-08T06:03:58.264Z) OS Version: Darwin x64 15.6.0 Steps to Reproduce: Code: // file test.ts expo...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/10218
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeScript - ability to rename/move file (refactoring)","articleBody":"_From @wallverb on August 8, 2016 13:58_\n- VSCode Version: Code - Insiders 1.5.0-insider (dde41be0231d6f8397d1da969ddab351f137b833, 2016-08-08T06:03:58.264Z)\n- OS Version: Darwin x64 15.6.0\n\nSteps to Reproduce:\n1. Code:\n\n``` ts\n// file test.ts\nexport const test = 5\n\n// file main.ts\nimport { test } from './test'\n```\n1. It would be fantastic if one could put cursor into `./test` and hit `F2` (Rename Symbol) to rename/move file and TypeScript would update all import statements that used that file to reflect the change. Right now it's pretty painful to rename/move files (one needs to fix imports manually)\n\nIt would go great with this feature request https://github.com/Microsoft/vscode/issues/9349 so that one could rename it as `../new-test` and it would move and rename file in one step.\n\nCurrently if you do `Rename Symbol` on import path then popup shows up but when you change value and hit enter nothing happens (popup just dissapears) - in other cases there is message in vscode that this element cannot be renamed - so probably minor bug\n\n\n_Copied from original issue: Microsoft/vscode#10305_\n","author":{"url":"https://github.com/jrieken","@type":"Person","name":"jrieken"},"datePublished":"2016-08-09T07:29:03Z","url":"https://github.com/microsoft/TypeScript/issues/10218"}
| 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:79df21ef-5450-e468-0b0b-c733d907e880 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7F4:26ECEB:2AE3A0D:3684C8D:6B0197CF |
| html-safe-nonce | f1025f5c67da8e10cda88358ba648156922c8c2978a27009ec97db5e2078ff43 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0Y0OjI2RUNFQjoyQUUzQTBEOjM2ODRDOEQ6NkIwMTk3Q0YiLCJ2aXNpdG9yX2lkIjoiNjA5ODMyNDAxODQxNzQ3MzQ4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 95c9e17a91b00683e53ebb437a97d124ef93fce00cf409b899c8418b8ddb26f4 |
| hovercard-subject-tag | issue:170099571 |
| 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/microsoft/TypeScript/10218/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e2c29120bdcc6e2db897bf8f223bce97ce0ec2fc4544f07ee6bc1c1e25fe248e/microsoft/TypeScript/issues/10218 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e2c29120bdcc6e2db897bf8f223bce97ce0ec2fc4544f07ee6bc1c1e25fe248e/microsoft/TypeScript/issues/10218 |
| og:image:alt | From @wallverb on August 8, 2016 13:58 VSCode Version: Code - Insiders 1.5.0-insider (dde41be, 2016-08-08T06:03:58.264Z) OS Version: Darwin x64 15.6.0 Steps to Reproduce: Code: // file test.ts expo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jrieken |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| 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