AnswerDotAI / AnswerDotAI/ghapi
Autocompletion/Syntax Highlighting doesn't seem to work properly in VSCode.
- Vorherrschende Sprache
- Python
- Sterne
- 685
- Forks
- 70
- Ø Merge
- 1 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
In short, tab completion and syntax highlighting does not seem to work in VSCode for ghapi. I'm not having this issue with other libraries.
# Info
## What I expected to happen
Install ghapi and be able to utilize Intellisense/Code completion to figure out more about the library.
## What actually happened
Intellisense/Code Completion and code highlighting did not work.
## Operating System Info
Linux/Manjaro
## ghapi version:
`0.1.19`
## VSCode version:
```
(scratch) ~/r/v/scratch ❯❯❯ code --version
1.58.2
c3f126316369cd610563c75b1b1725e0679adfb3
x64
```
## VSCode extensions:
```
(scratch) ~/r/v/scratch ❯❯❯ code --list-extensions
DavidAnson.vscode-markdownlint
eamodio.gitlens
ecmel.vscode-html-css
emmanuelbeziat.vscode-great-icons
esbenp.prettier-vscode
hashicorp.terraform
monokai.theme-monokai-pro-vscode
ms-azuretools.vscode-docker
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-vscode-remote.remote-containers
ms-vsliveshare.vsliveshare
TheaFlowers.witch-hazel
timonwong.shellcheck
zhuangtongfa.material-theme
```
## Example Code:
```
#!/usr/bin/env python3
from ghapi.all import GhApi
api = GhApi(
owner="CleverRaven",
repo="Cataclysm-DDA",
token="REDACTED",
)
print(api.repos)
## Screenshot
```

Beitragsleitfaden
Rechercherichtung
Reproduziere das Problem mit dem bereitgestellten Beispiel `from ghapi.all import GhApi` in VSCode 1.58.2 mit aktiviertem Pylance unter Verwendung von ghapi 0.1.19. Untersuche, warum Intellisense und Syntaxhervorhebung für diesen Einstiegspunkt fehlschlagen; abgeschlossen bedeutet, dass Vervollständigung und Hervorhebung für das Beispiel in der gemeldeten Umgebung funktionieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, vscode
- Bereich
- developer-experience, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100