{"id":22292961,"url":"https://github.com/smallstepman/vscode-edge-window-detector","last_synced_at":"2025-06-19T05:34:34.741Z","repository":{"id":262467659,"uuid":"887020401","full_name":"smallstepman/vscode-edge-window-detector","owner":"smallstepman","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-12T15:01:42.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T10:49:59.171Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smallstepman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T02:59:43.000Z","updated_at":"2024-11-12T15:01:46.000Z","dependencies_parsed_at":"2024-11-12T16:18:52.479Z","dependency_job_id":"431a0658-7cb0-469f-ab6f-a3afe62487b3","html_url":"https://github.com/smallstepman/vscode-edge-window-detector","commit_stats":null,"previous_names":["smallstepman/vscode-edge-window-detector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smallstepman/vscode-edge-window-detector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstepman%2Fvscode-edge-window-detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstepman%2Fvscode-edge-window-detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstepman%2Fvscode-edge-window-detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstepman%2Fvscode-edge-window-detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smallstepman","download_url":"https://codeload.github.com/smallstepman/vscode-edge-window-detector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstepman%2Fvscode-edge-window-detector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260694413,"owners_count":23047833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T17:26:31.472Z","updated_at":"2025-06-19T05:34:29.724Z","avatar_url":"https://github.com/smallstepman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edge Detector\n\nA Visual Studio Code extension that detects if the active editor is at the leftmost or rightmost edge of the window.\n\n## Features\n\n- **Detect Leftmost or Rightmost Editor**: Determines whether the currently active editor is at the leftmost, rightmost, or neither edge of the editor layout.\n- **Simple Commands**: Easily invoke the detection through a command.\n\n## Installation\n\n### From VSIX File\n\n1. **Download the Extension**: Obtain the `edge-detector-x.x.x.vsix` file.\n2. **Install via Command Palette**:\n   - Open VSCode.\n   - Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on macOS) to open the Command Palette.\n   - Type `Extensions: Install from VSIX...` and select it.\n   - Navigate to the location of the `.vsix` file and select it.\n3. **Reload VSCode**: After installation, click the **Reload** button when prompted.\n\n## Usage\n\n1. **Open Multiple Editors**:\n   - Split your editor horizontally to create multiple columns.\n     - Go to `View` \u003e `Editor Layout` \u003e `Split Right` (or use the split editor button).\n2. **Focus on an Editor**:\n   - Click inside the editor you want to check.\n3. **Run the Command**:\n   - Open the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P`).\n   - Type `Check If Editor Is At Left/Right Edge` and select the command.\n4. **View the Result**:\n   - An information message will appear displaying one of the following:\n     - `leftmost`\n     - `rightmost`\n     - `leftmost and rightmost` (only one editor open)\n     - `not at edge`\n\n## Example\n\n- **Single Editor**:\n  - Only one editor is open.\n  - Running the command returns: `leftmost and rightmost`.\n- **Multiple Editors**:\n  - Three editors are open.\n  - Active editor is the first one.\n  - Running the command returns: `leftmost`.\n  - Active editor is the last one.\n  - Running the command returns: `rightmost`.\n  - Active editor is the middle one.\n  - Running the command returns: `not at edge`.\n\n## Known Issues\n\n- **Vertical Position Detection**: Due to limitations in the VSCode API, detecting if the editor is at the topmost or bottommost edge is not supported.\n- **Complex Layouts**: In complex editor layouts with both vertical and horizontal splits, the detection may not accurately represent the physical position in the grid.\n\n## Release Notes\n\n### 1.0.0\n\n- Initial release of Edge Detector.\n- Supports detection of leftmost and rightmost editor positions.\n\n## Contributing\n\nContributions are welcome! Feel free to submit issues and pull requests to improve the extension.\n\n1. **Fork the Repository**\n2. **Create a Feature Branch**\n   - `git checkout -b feature/YourFeature`\n3. **Commit Your Changes**\n   - `git commit -m 'Add your feature'`\n4. **Push to the Branch**\n   - `git push origin feature/YourFeature`\n5. **Open a Pull Request**\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Author\n\n- **Your Name**\n  - [GitHub Profile](https://github.com/your-github-username)\n  - [Email](mailto:your-email@example.com)\n\n---\n\n**Enjoy using Edge Detector! If you find it useful, please give it a star on GitHub.**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallstepman%2Fvscode-edge-window-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmallstepman%2Fvscode-edge-window-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallstepman%2Fvscode-edge-window-detector/lists"}