Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Search file with colon number(file.js:200) exceeding files LOC #352

Open
artemgurzhii opened this issue Aug 16, 2018 · 0 comments
Open

Search file with colon number(file.js:200) exceeding files LOC #352

artemgurzhii opened this issue Aug 16, 2018 · 0 comments

Comments

@artemgurzhii
Copy link

This can be considered as both feature and bug.

Example project structure

app/
  components/
    index.js (file has 100 lines of code)

  controllers/
    index.js (file has 1000 lines of code)

Example when correct:

  1. Press Cmd+T
  2. Type index.js
  3. Result - 2 items are shown: app/components/index.js and app/controllers/index.js

Example when can be improved/fixed:

  1. Press Cmd+T
  2. Type index.js:300(NOTE: Writing :NUMBER sends you directly to this line in the file`
  3. Result - 2 items are shown: app/components/index.js and app/controllers/index.js
    And what I expect in the second example is too show only app/controllers/index.js file or change their order as file app/components/index.js doesn't have line number 300

P.S. atom/atom#17872

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant