workbenchdev / workbenchdev/Workbench

editor sees syntax child [type="suffix"] Box {} as broken

Open
#1,012 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
844
Forks
91
Avg merge
7h 12m
Merged PRs (30d)
1

Description

I'm not sure if this is the way, I got the answer from an LLM, as I couldn't find the answer to this through googling.
I wanted to achieve what is mentioned here:

The AdwActionRow implementation of the GtkBuildable interface supports adding a child at its end by specifying “suffix” or omitting the “type” attribute of a element.

But I couldn't find a way, besides what I got from LLM.
While the LSP seems to be comlaining, GTK does render it correctly, so it probably is the right syntax I think?

Image Image

if I'm having a skill isue lemme know. I picked up GTK4 this week and still learning :)

Contributor guide

Open the contributing guide

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

No files or tests are named. Start by reproducing the GTK4/libadwaita ActionRow markup in the editor and inspect the LSP diagnostic for the child type="suffix" syntax. Done means the editor accepts valid syntax without reporting it as broken, or the supported syntax and limitation are clearly documented.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.