kawagh / kawagh/ment

コードブロック中のコメント文判定

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## 問題
```python
print("python")
# この行のようなコードブロック中の#から始まるコメントがタグとして認識されてしまう
```
## 対応策
- コードブロックの目印である\```の個数を数えて#から始まる行がコードブロックの内部か否か判定する

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Python code that recognizes lines beginning with # and handles fenced code blocks. Reproduce the example from the issue, then verify that # lines inside ``` fences are not treated as tags while lines outside fences still are.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.