Skip to content

Commit

Permalink
Migrate base branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-spiess committed Aug 7, 2024
1 parent 82f152d commit 59dda95
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish pre-release
concurrency: publish
on:
push:
branches: [master]
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion packages/tailwindcss-language-server/src/util/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function toString(err: any, includeStack: boolean = true): string {
}
}

// https://github.com/vscode-langservers/vscode-json-languageserver/blob/master/src/utils/runner.ts
// https://github.com/vscode-langservers/vscode-json-languageserver/blob/main/src/utils/runner.ts

This comment has been minimized.

Copy link
@RobinMalfait

RobinMalfait Aug 7, 2024

Member

This change is incorrect

This comment has been minimized.

Copy link
@philipp-spiess

philipp-spiess Aug 7, 2024

Author Member

Ah, my bad, I was actually checking the URL and noticed it but I forgot to revert. Thanks for spotting it.

This comment has been minimized.

Copy link
@philipp-spiess

philipp-spiess Aug 7, 2024

Author Member

Ah you know why: In VS Code if you change an URL and cmd+click on it, it will point to the previous URL for a few secs. :(

export function formatError(message: string, err: any, includeStack: boolean = true): string {
if (err) {
return `${message}: ${toString(err, includeStack)}`
Expand Down
10 changes: 5 additions & 5 deletions packages/vscode-tailwindcss/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/packages/vscode-tailwindcss/.github/banner.png" alt="" />
<img src="https://raw.githubusercontent.com/tailwindlabs/tailwindcss-intellisense/main/packages/vscode-tailwindcss/.github/banner.png" alt="" />

Tailwind CSS IntelliSense enhances the Tailwind development experience by providing Visual Studio Code users with advanced features such as autocomplete, syntax highlighting, and linting.

Expand All @@ -14,19 +14,19 @@ In order for the extension to activate you must have [`tailwindcss` installed](h

Intelligent suggestions for class names, as well as [CSS functions and directives](https://tailwindcss.com/docs/functions-and-directives/).

<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/packages/vscode-tailwindcss/.github/autocomplete.png" alt="" />
<img src="https://raw.githubusercontent.com/tailwindlabs/tailwindcss-intellisense/main/packages/vscode-tailwindcss/.github/autocomplete.png" alt="" />

### Linting

Highlights errors and potential bugs in both your CSS and your markup.

<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/packages/vscode-tailwindcss/.github/linting.png" alt="" />
<img src="https://raw.githubusercontent.com/tailwindlabs/tailwindcss-intellisense/main/packages/vscode-tailwindcss/.github/linting.png" alt="" />

### Hover Preview

See the complete CSS for a Tailwind class name by hovering over it.

<img src="https://raw.githubusercontent.com/bradlc/vscode-tailwindcss/master/packages/vscode-tailwindcss/.github/hover.png" alt="" />
<img src="https://raw.githubusercontent.com/tailwindlabs/tailwindcss-intellisense/main/packages/vscode-tailwindcss/.github/hover.png" alt="" />

### Tailwind CSS Language Mode

Expand Down Expand Up @@ -68,7 +68,7 @@ When a list of CSS classes is selected this command can be used to sort them in

### `tailwindCSS.includeLanguages`

This setting allows you to add additional language support. The key of each entry is the new language ID and the value is any one of the extensions [built-in languages](https://github.com/tailwindlabs/tailwindcss-intellisense/blob/master/packages/tailwindcss-language-service/src/util/languages.ts), depending on how you want the new language to be treated (e.g. `html`, `css`, or `javascript`):
This setting allows you to add additional language support. The key of each entry is the new language ID and the value is any one of the extensions [built-in languages](https://github.com/tailwindlabs/tailwindcss-intellisense/blob/main/packages/tailwindcss-language-service/src/util/languages.ts), depending on how you want the new language to be treated (e.g. `html`, `css`, or `javascript`):

```json
{
Expand Down

0 comments on commit 59dda95

Please sign in to comment.