Vector35 / Vector35/binaryninja-api

Syntax highlighting in Create Types / Change Type dialogs

Open
#3,158 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: UI Effort: Medium Impact: Medium UI: Dialogs
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

What is the feature you'd like to have?
When editing very large type definitions (e.g. COM vtables), having no syntax highlighting in the text box makes the process a bit harder than it needs to be. It would be nice to have some basic syntax highlighting here. I don't think it has to be a full on language server situation - even just highlighting keywords and well-known types would go a long way.

Are any alternative solutions acceptable?
Editing the type in VS Code and copying it into Binary Ninja, I suppose.

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.

Research direction

Start by locating the Create Types and Change Type dialogs and inspect how their text boxes render large type definitions. Determine how basic highlighting for keywords and well-known types could fit the existing UI, then verify that editing definitions such as COM vtables remains usable with the highlighting enabled.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.