{"id":16876223,"url":"https://github.com/coolcat467/idleopenline","last_synced_at":"2025-04-11T11:32:24.405Z","repository":{"id":227792161,"uuid":"772420786","full_name":"CoolCat467/idleopenline","owner":"CoolCat467","description":"Python IDLE extension to open a specific line in a file.","archived":false,"fork":false,"pushed_at":"2025-04-07T22:39:47.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T23:28:52.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/idleopenline","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CoolCat467.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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-03-15T06:45:23.000Z","updated_at":"2025-04-07T22:39:50.000Z","dependencies_parsed_at":"2025-02-19T07:31:37.206Z","dependency_job_id":null,"html_url":"https://github.com/CoolCat467/idleopenline","commit_stats":null,"previous_names":["coolcat467/idleopenline"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoolCat467%2Fidleopenline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoolCat467%2Fidleopenline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoolCat467%2Fidleopenline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoolCat467%2Fidleopenline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoolCat467","download_url":"https://codeload.github.com/CoolCat467/idleopenline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248384074,"owners_count":21094669,"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-10-13T15:38:41.611Z","updated_at":"2025-04-11T11:32:24.378Z","avatar_url":"https://github.com/CoolCat467.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IdleOpenLine\nPython IDLE extension to open a specific line in a file.\n\n[![Tests](https://github.com/CoolCat467/idleopenline/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/CoolCat467/idleopenline/actions/workflows/tests.yml)\n\u003c!-- BADGIE TIME --\u003e\n\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/CoolCat467/idleopenline/main.svg)](https://results.pre-commit.ci/latest/github/CoolCat467/idleopenline/main)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n[![code style: black](https://img.shields.io/badge/code_style-black-000000.svg)](https://github.com/psf/black)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n\u003c!-- END BADGIE TIME --\u003e\n\n## What does this extension do?\nThis IDLE extension allows you to open a specific line and column from\na terminal launch command, such as `idle-python3.12 my_file.py:32:4`\nand jump to line 32 column 4. This line indexing syntax is very common\nin error/warning messages in many systems such as [Ruff](https://github.com/astral-sh/ruff).\nThere is also support for opening a selected area, such as\n`idle-python3.12 my_file.py:32:4:36:9`, which would jump to 32 column 4 and\nselect the region starting at line 32 column 4 and ending at line 36 column 9.\nRegions that are not fully defined, such as `my_file.py:32:4:36`, will not\nbe selected.\n\n### Example usecase\nIf you happen to be using [Tilix](https://gnunn1.github.io/tilix-web/), if you go to Preferences \u003e Advanced \u003e Custom Links,\nyou could add the following:\n\nRegex: `(?:\\/*?[a-zA-Z0-9-\\.\\_]+\\/)*[a-zA-Z0-9-\\.\\_]+\\.(?:pyi?)(:[0-9]+)*`\nCommand: `idle-python3.12 $0`\n\nThis will make it so if there are filenames ending in `.py` or `.pyi` in your terminal window,\nyou can open them in IDLE by Ctrl + Clicking on them!\n\n## Installation (Without root permissions)\n1) Go to terminal and install with `pip install idleopenline[user]`.\n2) Run command `idleuserextend; idleopenline`. You should see the following\noutput: `Config should be good! Config should be good!`.\n3) Open IDLE, go to `Options` -\u003e `Configure IDLE` -\u003e `Extensions`.\nIf everything went well, alongside `ZzDummy` there should be and\noption called `idleopenline`. This is where you can configure if\nidleopenline is enabled or not.\n\n## Installation (Legacy, needs root permission)\n1) Go to terminal and install with `pip install idleopenline`.\n2) Run command `idleopenline`. You will likely see a message saying\n`idleopenline not in system registered extensions!`. Run the command\ngiven to add idleopenline to your system's IDLE extension config file.\n3) Again run command `idleopenline`. This time, you should see the\nfollowing output: `Config should be good!`.\n4) Open IDLE, go to `Options` -\u003e `Configure IDLE` -\u003e `Extensions`.\nIf everything went well, alongside `ZzDummy` there should be and\noption called `idleopenline`. This is where you can configure if\nidleopenline is enabled or not.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolcat467%2Fidleopenline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolcat467%2Fidleopenline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolcat467%2Fidleopenline/lists"}