Unverified Publisher
Flags items published by entities that haven’t gone through the publisher verification process of the marketplace. Lack of verification may indicate higher risk, as the publisher’s identity and trustworthiness are unconfirmed.
medium
Unmaintained Item
Flags items that are not maintained on the marketplace, suggesting concerns about the item's reputation and the publisher's reliability.
low
Publisher Has Only One Item
Flags publishers that publish only one item on the marketplace, suggesting concerns about the publisher's reliability.
low
This Visual Studio Code extension named "goto-test" facilitates quick navigation between source files and their corresponding test files within a workspace.
Key Functionalities:
- File Name Manipulation:
- Extracts file names without extensions.
- Uses configurable patterns to determine test file names from source files and vice versa.
- Configuration Usage:
- Reads user/workspace configurations (
goto-test.testFilePatterns) to customize test file naming conventions.
- Reads user/workspace configurations (
- File Searching and Opening:
- Searches workspace files matching the computed test or source file names.
- If multiple matches are found, prompts the user to select the desired file.
- Opens the selected file in the editor.
- Commands Registered:
goto-test.gotoTestFile: Opens the test file corresponding to the active source file.goto-test.gotoSourceFile: Opens the source file corresponding to the active test file.
API Usage:
- Uses VS Code APIs such as
vscode.workspace.findFiles,vscode.workspace.openTextDocument,vscode.window.showQuickPick, andvscode.window.showTextDocument.
Network, Process, and System Interaction:
- No network communication.
- No process spawning or shell/PowerShell execution.
- No file creation or modification beyond opening existing files.
- No registry or user account operations.
- No clipboard access.
Obfuscation:
- Code is straightforward and readable without obfuscation techniques.
// Example: Registering command to open test file
let goToTestFile = vscode.commands.registerCommand("goto-test.gotoTestFile", openTestFileFromActiveSourceFile);
context.subscriptions.push(goToTestFile);
high
Licenses
X11 License
Copyright 2021 Joel Carlbark
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software...