Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple from annotations #401

Open
ZYJLiu opened this issue Jul 25, 2023 · 1 comment
Open

Multiple from annotations #401

ZYJLiu opened this issue Jul 25, 2023 · 1 comment

Comments

@ZYJLiu
Copy link

ZYJLiu commented Jul 25, 2023

Thanks for building and maintaining codehike! Awesome tool

Requesting ability to reference the separate sections of the same file using from annotation mentioned from discussions

```js
// from ./foo.js 1:3
// from ./foo.js 5:7
// from ./foo.js 10
```
@ZYJLiu ZYJLiu changed the title Request feature to reference the separate sections of the same file using from annotation Request feature to reference separate sections of the same file using from annotation Jul 25, 2023
@pomber
Copy link
Contributor

pomber commented Jul 25, 2023

Thanks. To clarify, the idea is to be able to import code from different files, and that may also be used to import multiple sections of one file.

```js
// from ./one.js 1:3
// from ./two.js 5:7
// from ./two.js 10
```

@pomber pomber changed the title Request feature to reference separate sections of the same file using from annotation Multiple from annotations Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants