fix: use window.activeTextEditor instead of composable in command handler#42
fix: use window.activeTextEditor instead of composable in command handler#42
window.activeTextEditor instead of composable in command handler#42Conversation
📝 WalkthroughWalkthroughThis pull request enforces a pattern where command handlers use the VSCode API directly instead of wrapper composables. The ESLint configuration is updated with a targeted rule that restricts imports from 'reactive-vscode' in files under src/commands/. Additionally, the open-file-in-npmx.ts command is refactored to replace the useActiveTextEditor hook with VSCode's native window.activeTextEditor API, adjusting the optional chaining syntax accordingly. Possibly related PRs
🚥 Pre-merge checks | ✅ 1 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Comment |
No description provided.