Microsoft/monaco-editor
Vedi su GitHubPHP: support for code snippets without the starting `<?php` token
Open
#1658 aperta il 5 nov 2019
feature-requestgrammarshelp wanted
Metriche repository
- Star
- (14.836 star)
- Metriche merge PR
- (Merge medio 6h 26m) (15 PR mergiate in 30 g)
Descrizione
monaco-editor version: 0.18.1
Steps or JS usage snippet reproducing the issue:
The following snippet doesn't get highlighted properly because the starting <?php token is missing, I think it should get highlighted better, like GitHub is doing, even though the current behavior is probably overall more correct, but kind of too strict.
public function index() {
$projects = Project::all();
return view('projects.index', compact('projects'));
}