Skip to content
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
f7338a4
Take 2
hawkeyexl May 16, 2025
6402ba2
Enhance test detection structure in OpenFilesTreeDataProvider
hawkeyexl May 16, 2025
88c4f90
Moved code to root level
hawkeyexl May 16, 2025
8fe2f61
Rename sidebar and view identifiers from "bareBones" to "docDetective…
hawkeyexl May 16, 2025
a7a1170
Refactor Doc Detective extension to use Webview for displaying test r…
hawkeyexl May 16, 2025
806135c
Remove the refresh button from the webview and implement hot-reloadin…
hawkeyexl May 16, 2025
196bc9b
Enhance JSON rendering in webview with collapsible sections
hawkeyexl May 16, 2025
545b57e
Refactor JSON rendering in webview: improve HTML escaping, enhance in…
hawkeyexl May 16, 2025
296fd16
chore: bump version to 0.0.2 and update dependencies
hawkeyexl May 21, 2025
cffdcad
Enhance YAML rendering in DocDetective webview
hawkeyexl May 21, 2025
5e3e270
Refactor YAML rendering logic in DocDetectiveWebviewViewProvider
hawkeyexl May 21, 2025
13fb48c
Enhance Doc Detective Webview: Add content security policy, improve s…
hawkeyexl May 21, 2025
cf64f58
Refactor CSS for collapsible elements: streamline hover effects and a…
hawkeyexl May 21, 2025
0e8039b
feat: Enhance Doc Detective extension with new commands and improved …
hawkeyexl May 22, 2025
8a7ec93
feat: update package description and enhance webview functionality
hawkeyexl May 22, 2025
57c0a0f
Naming
hawkeyexl May 22, 2025
b1bb2db
docs: update README for clarity and conciseness
hawkeyexl May 22, 2025
9727420
chore: update .gitignore and .vscodeignore, and replace icon.svg
hawkeyexl May 22, 2025
fc9052b
feat: add GNU Affero General Public License
hawkeyexl May 22, 2025
b087ea3
chore: update package.json to add repository info and new dependencies
hawkeyexl May 22, 2025
3f30b60
chore: update README to remove Doc Detective Companion and release notes
hawkeyexl May 22, 2025
2a86693
Remove all activation events from package.json to prevent automatic a…
hawkeyexl May 22, 2025
04db9bd
Add configuration support for Doc Detective extension
hawkeyexl May 22, 2025
9af4274
feat: update sidebar icon for Doc Detective
hawkeyexl May 22, 2025
efd89fa
chore: update doc-detective-resolver to version 3.0.1 and posthog-nod…
hawkeyexl May 22, 2025
8d071ca
rebuild
hawkeyexl May 22, 2025
4cca3d8
refactor: rename package and update metadata
hawkeyexl May 22, 2025
3a7e48d
chore: remove outdated CHANGELOG and quickstart documentation files
hawkeyexl May 22, 2025
1890a43
feat: add initial configuration for Coderabbit
hawkeyexl May 22, 2025
6ded1e8
refactor: update node versions and format os matrix in test-publish w…
hawkeyexl May 22, 2025
487e7e1
refactor: update test-publish workflow to omit ubuntu-latest and set …
hawkeyexl May 22, 2025
029d9e4
Update webpack.config.js
hawkeyexl May 22, 2025
3f79772
Update activationEvents
hawkeyexl May 22, 2025
136d9ff
📝 Add docstrings to `nect`
coderabbitai[bot] May 22, 2025
5c6dc97
Merge pull request #2 from doc-detective/coderabbitai/docstrings/21lnNi
hawkeyexl May 22, 2025
a51fe86
refactor: update command identifiers and improve test coverage
hawkeyexl May 22, 2025
8446602
Refactor file existence checks to use asynchronous methods
hawkeyexl May 22, 2025
37c2278
Add configuration section to README
hawkeyexl May 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
language: en-US
tone_instructions: ''
early_access: false
enable_free_tier: true
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
high_level_summary_placeholder: '@coderabbitai summary'
auto_title_placeholder: '@coderabbitai'
review_status: true
commit_status: true
poem: true
collapse_walkthrough: false
sequence_diagrams: true
changed_files_summary: true
labeling_instructions: []
path_filters: []
path_instructions: []
abort_on_close: true
auto_review:
enabled: true
auto_incremental_review: true
ignore_title_keywords: []
labels: []
drafts: false
base_branches: ["main","rc"]
tools:
shellcheck:
enabled: true
ruff:
enabled: true
markdownlint:
enabled: true
github-checks:
enabled: true
timeout_ms: 90000
languagetool:
enabled: true
enabled_only: false
level: default
biome:
enabled: true
hadolint:
enabled: true
swiftlint:
enabled: true
phpstan:
enabled: true
level: default
golangci-lint:
enabled: true
yamllint:
enabled: true
gitleaks:
enabled: true
checkov:
enabled: true
detekt:
enabled: true
eslint:
enabled: true
rubocop:
enabled: true
buf:
enabled: true
regal:
enabled: true
actionlint:
enabled: true
pmd:
enabled: true
cppcheck:
enabled: true
semgrep:
enabled: true
circleci:
enabled: true
chat:
auto_reply: true
knowledge_base:
opt_out: false
learnings:
scope: auto
issues:
scope: auto
jira:
project_keys: []
linear:
team_keys: []
pull_requests:
scope: auto
2 changes: 2 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- Use this file to provide workspace-specific custom instructions to Copilot. For more details, visit https://code.visualstudio.com/docs/copilot/copilot-customization#_use-a-githubcopilotinstructionsmd-file -->
This is a VS Code extension project. Please use the get_vscode_api with a query as input to fetch the latest VS Code API references.
59 changes: 59 additions & 0 deletions .github/workflows/test-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Test (& Publish)

on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
release:
types:
- published
workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
# - ubuntu-latest Ubuntu omitted because GitHub Actions' Ubuntu image doesn't have compatible X server
- windows-latest
- macos-latest
node:
- 22

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
cache-dependency-path: package-lock.json
registry-url: https://registry.npmjs.org/

- run: npm ci
- run: npm test

publish-npm:
if: github.event_name == 'release' && github.event.action == 'published'
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: package-lock.json
registry-url: https://registry.npmjs.org/

- run: npm ci
- run: npx vsce publish --no-yarn
env:
VSCE_PAT: ${{secrets.VSCODE_MARKETPLACE_TOKEN}}
36 changes: 0 additions & 36 deletions .github/workflows/vsc-publish.yml

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
node_modules

# production
/build
Expand All @@ -10,3 +10,6 @@
.DS_Store

npm-debug.log*

/.vscode-test
/out
5 changes: 5 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
files: 'out/test/**/*.test.js',
});
10 changes: 4 additions & 6 deletions .vscode/extensions.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": ["dbaeumer.vscode-eslint", "amodio.tsl-problem-matcher", "ms-vscode.extension-test-runner"]
}
17 changes: 6 additions & 11 deletions .vscode/launch.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// A launch configuration that launches the extension inside a new window
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
Expand All @@ -11,16 +11,11 @@
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/test/suite/index"
]
],
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
}
]
}
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false, // set this to true to hide the "out" folder with the compiled JS files
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
},
"search.exclude": {
"out": true, // set this to false to include "out" folder in search results
"dist": true // set this to false to include "dist" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
}
40 changes: 40 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$ts-webpack-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch-tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch-tests",
"dependsOn": [
"npm: watch",
"npm: watch-tests"
],
"problemMatcher": []
}
]
}
11 changes: 9 additions & 2 deletions .vscodeignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
.github/**
.vscode/**
.vscode-test/**
out/**
node_modules/**
src/**
test/**
.gitignore
.yarnrc
webpack.config.js
vsc-extension-quickstart.md
**/jsconfig.json
**/tsconfig.json
**/eslint.config.mjs
**/*.map
**/.eslintrc.json
**/*.ts
**/.vscode-test.*
9 changes: 0 additions & 9 deletions CHANGELOG.md

This file was deleted.

Loading