Feature Request: link and selected text to Markdown format

Open
#61 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript, vscode

Research direction

Start by tracing the VSCode extension's existing permalink and copy-link behavior. Check how an option could access the active editor's selected text and preserve the file, commit, and line information. Done means the generated output matches the requested Markdown link and, when text is selected, includes the fenced code snippet with its language.

Written by the indexing model from the issue text.

Description

enhancement

Like https://github.com/kawamataryo/copy-git-link for JetBrains, it would be nice if there would be an option to generate markdown that looks like this (code snippet included if text is selected):

[/somepackage/SomeClass.java#L42-L44](https://github.com/huyz/myrepo/blob/67b33efca188/somepackage/SomeClass.java#L42-L44)
```java
    public void setLast_name(String last_name) {
        this.last_name = last_name;
    }
```
Dominant language
TypeScript
Stars
21
Forks
10
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from chdsbd/vscode-githubinator

All issues in chdsbd/vscode-githubinator

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.