Skip to content

Add VS Code extension for Robot Framework Skills#1

Open
manykarim wants to merge 3 commits intomainfrom
feature/vscode-extension
Open

Add VS Code extension for Robot Framework Skills#1
manykarim wants to merge 3 commits intomainfrom
feature/vscode-extension

Conversation

@manykarim
Copy link
Copy Markdown
Owner

Summary

  • Complete VS Code extension (robotframework-skills) that complements RobotCode with curated snippets, code generators, keyword reference, migration tools, and test result analysis
  • Designed to work alongside RobotCode (309K+ installs), not compete — fills gaps in snippets, scaffolding, offline keyword reference, and migration guidance
  • Includes comprehensive implementation plan at docs/vscode-extension-implementation-plan.md

Features

Phase 1: Snippets + Commands

  • 46 snippets across 7 libraries (Browser, Selenium, Appium, Requests, RESTinstance, BuiltIn, RF structure)
  • 8 commands: search/explain keywords, generate keywords/tests, scaffold projects, analyze results, check environment, modernize syntax
  • Python script bridge reusing existing scripts via child_process

Phase 2: Tree Views + Webviews

  • Keyword browser tree view with 114 pre-indexed keywords across 6 libraries
  • Test results tree view parsing output.xml
  • 3 webview panels: results dashboard, keyword documentation, migration report

Phase 3: Code Actions + Providers

  • 7 migration code actions ([Return]RETURN, Run Keyword IfIF/END, etc.)
  • Code lenses for Run/Debug tests
  • Hover documentation from static keyword index
  • Completion provider for keywords and library names
  • Deprecated syntax diagnostics (6 patterns)
  • Status bar items (RF version, test results)

Phase 4: Testing + CI/CD + Documentation

  • 5 test suites (extension, invoker, snippets, providers, keyword index)
  • GitHub Actions CI workflow (build matrix, test, snippet validation, VSIX packaging)
  • Marketplace README and CHANGELOG

Validation

  • TypeScript: 0 compilation errors
  • esbuild: 57KB production bundle
  • VSIX: 83KB package, 33 files
  • Snippets: 46 valid, 46 unique prefixes, all rf- prefixed
  • Keyword index: 6 libraries, 114 keywords
  • Existing tests: 16 passed, 5 skipped (unchanged)
  • Marketplace validation: ALL CHECKS PASSED

Test plan

  • Install VSIX locally with code --install-extension robotframework-skills-0.1.0.vsix
  • Verify snippets trigger in .robot files (type rf-browser-setup)
  • Test Command Palette commands (RF Skills: Search Keywords, etc.)
  • Verify keyword browser tree view in sidebar
  • Test results dashboard with sample output.xml
  • Verify code actions appear on deprecated syntax
  • Test code lenses above test cases
  • Check status bar items
  • Run CI workflow on GitHub Actions

🤖 Generated with claude-flow

manykarim and others added 3 commits February 24, 2026 16:42
Complete VS Code extension (robotframework-skills) that complements
RobotCode with curated snippets, code generators, keyword reference,
migration tools, and test result analysis.

Extension features:
- 46 snippets across 7 libraries (Browser, Selenium, Appium, Requests,
  RESTinstance, BuiltIn, RF structure)
- 8 commands: search/explain keywords, generate keywords/tests,
  scaffold projects, analyze results, check environment, modernize syntax
- Keyword browser tree view with 114 pre-indexed keywords across 6 libs
- Test results tree view with output.xml parsing
- 3 webviews: results dashboard, keyword docs, migration report
- 7 migration code actions ([Return]->RETURN, Run Keyword If->IF/END, etc.)
- Code lenses for Run/Debug tests
- Hover documentation and completion provider
- Deprecated syntax diagnostics
- Status bar items (RF version, test results)
- Python script bridge via child_process (reuses existing scripts)
- CI/CD workflow for build, test, snippet validation, VSIX packaging
- Comprehensive implementation plan in docs/

Builds: TypeScript compiles with 0 errors, esbuild produces 57KB bundle
Package: Valid VSIX at 83KB with 33 files
Tests: 5 test suites (extension, invoker, snippets, providers, keyword index)

Co-Authored-By: claude-flow <ruv@ruv.net>
Resized logo.webp from 736x736 to 128x128 PNG.

Co-Authored-By: claude-flow <ruv@ruv.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant