better differentiation between identical files

Open
#3,351 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

The issue names no files, tests, or entry points. Start by locating the UI code that labels open files and compare the existing behavior with the VS Code examples in the description. Done means identical filenames are distinguishable by showing the first diverging directory in the UI.

Written by the indexing model from the issue text.

Description

Component: UI Effort: Low Impact: Low

It's common that someone wants to open two files in a similar folder structure:

parent
+ folder1
| + sub 1
| | + file1.dll
+ folder2
| + sub 1
| | + file1.dll

If both versions of file1.dll are opened, you'd want to be able to distinguish in the UI. Here's how VSCode does it (in short, if two files have the same name, walk their paths to find the first diverging directory, show that):

Screen Shot 2022-08-03 at 10 21 28 AM Screen Shot 2022-08-03 at 10 21 33 AM
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

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 Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.