Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Certain ligatures after keyword tokens render with incorrect cursor position in VSCode

オープン
#383 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
javascript, vscode
領域
tooling

調査の方向性

Linux 上の VSCode で、Monaspace Neon、記載されている editor.fontLigatures の設定、および <>, =>, >=、または <= が続く JavaScript キーワードを使って問題を再現します。リガチャが単独で現れる場合、キーワードの後に現れる場合、プレーンテキスト内に現れる場合のカーソル位置を比較します。各ケースで、視覚的なカーソル位置が実際の位置と一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

OS: Linux

Using VSCode, with Monaspace Neon and "editor.fontLigatures": "'calt', 'liga', 'ss01', 'ss02', 'ss03','ss04', 'ss05', 'ss06', 'ss07', 'ss08', 'ss09'", the <> ligature, along with a few others, behave oddly when typed after a keyword in javascript.

Image When by itself, it works fine. I can back arrow into it and the cursor visually shows up inside it. Image Image However, when it is on a line after a keyword, it behaves oddly. Visually, the cursor is here `<>|`, but it is actually here `<|>`. I did not move the cursors between those two images, i simply typed the letter "e" The same thing happens with the `==>, >=, <=` and potentially others.

It may be related to syntax highlighting. It doesn't happen with plain text, and doesn't happen unless after a keyword.

主要言語
Shell
スター
19.6k
フォーク
323
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

githubnext/monaspace のほかの issue

githubnext/monaspace の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。