Skip to content

Commit 83069f8

Browse files
committed
Add notes
1 parent ac9ee4a commit 83069f8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

packages/tailwindcss-language-server/src/project-locator.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,6 @@ testFixture('v4/multi-config', [
8181
testFixture('v4/workspaces', [
8282
{ config: 'packages/admin/app.css' },
8383
// { config: 'packages/shared/ui.css' }, // Should this be included?
84+
// { config: 'packages/style-export/lib.css' }, // Should this be included?
8485
{ config: 'packages/web/app.css' },
8586
])

packages/tailwindcss-language-server/src/projects.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ export async function createProjectService(
745745
originalConfig = { theme: {} }
746746
} catch {
747747
// TODO: Fall back to built-in v4 stuff
748+
// TODO: Log errors? It might get noisy as people are editing their CSS though
748749
enabled = false
749750
state.enabled = false
750751
return

packages/tailwindcss-language-server/tests/common.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ async function init(fixture: string): Promise<FixtureContext> {
201201
},
202202
} as DidOpenTextDocumentParams)
203203

204+
// If opening a document stalls then it's probably because this promise is not being resolved
205+
// This can happen if a document is not covered by one of the selectors because of it's URI
204206
await initPromise
205207

206208
return {

0 commit comments

Comments
 (0)