Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was 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

@artemgurzhii

Description

@artemgurzhii

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions