дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 03:05:40 +02:00
feat(astro): add Astro language support and editor mode (#712)
Astro files get their own language: TypeScript frontmatter, HTML template with TSX expressions in text and tags, TypeScript scripts, astro-ls and oxlint servers, and file-type icons.
Цей коміт міститься в:
1 джерело
a6987b3eaa
коміт
ad382a7824
20 files changed
+479
-9
No files matched your search
@@ -40,7 +40,10 @@ function actionTitles(): Map<string, string> {
|
||||
for (const title of literals(node)) titles.set(title, `${source.fileName.slice(root.length)}:${line}`);
|
||||
};
|
||||
for (const source of program.getSourceFiles()) {
|
||||
if (!source.fileName.startsWith(`${root}src/`) || /\.test\.tsx?$|\/__tests__\/|\/test\//.test(source.fileName))
|
||||
if (
|
||||
!source.fileName.startsWith(`${root}src/`) ||
|
||||
/\.test\.tsx?$|\/__tests__\/|\/test\//.test(source.fileName.slice(root.length))
|
||||
)
|
||||
continue;
|
||||
const visit = (node: ts.Node) => {
|
||||
if (
|
||||
|
||||
Reference in new issue
Заблокувати користувача