vscode html id,GitHub - pranaygp/vscode-css-peek: A vscode extension for peeking at CSS definitions ...

68747470733a2f2f7472617669732d63692e6f72672f7072616e617967702f7673636f64652d6373732d7065656b2e7376673f6272616e63683d6d6173746572

68747470733a2f2f76736d61726b6574706c61636562616467652e61707068622e636f6d2f696e7374616c6c732d73686f72742f7072616e617967702e7673636f64652d6373732d7065656b2e737667

68747470733a2f2f76736d61726b6574706c61636562616467652e61707068622e636f6d2f76657273696f6e2f7072616e617967702e7673636f64652d6373732d7065656b2e737667

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e2532305653582d7673636f64652d2d6373732d2d7065656b2d707572706c65

68747470733a2f2f636f6465636f762e696f2f67682f7072616e617967702f7673636f64652d6373732d7065656b2f6272616e63682f6d61737465722f67726170682f62616467652e737667

Backed By

An amazing tool I've used before and they didn't ask me to say that :) - Extension Author

20338a2dea59e298edd33420b00d14c5.png

Manage pull requests and conduct code reviews in your IDE with full source-tree context. Comment on any line, not just the diffs. Use jump-to-definition, your favorite keybindings, and code intelligence with more of your workflow.

Learn More

Functionality

This extension extends HTML and ejs code editing with Go To Definition and Go To Symbol in Workspace support for css/scss/less (classes and IDs) found in strings within the source code.

This was heavily inspired by a similar feature in Brackets called CSS Inline Editors.

8972a855da5f45fc3f6b4d4fd1a9062c.gif

The extension supports all the normal capabilities of symbol definition tracking, but does it for css selectors (classes, IDs and HTML tags). This includes:

Peek: load the css file inline and make quick edits right there. (Ctrl+Shift+F12)

Go To: jump directly to the css file or open it in a new editor (F12)

Hover: show the definition in a hover over the symbol (Ctrl+hover)

In addition, it supports the Symbol Provider so you can quickly jump to the right CSS/SCSS/LESS code if you already know the class or ID name

34041ff146f2845eabafa17a0b664c44.gif

Configuration

cssPeek.supportTags - Enable Peeking from HTML tags in addition to classnames and IDs. React components are ignored, but it's a good idea to disable this feature when using Angular.

cssPeek.peekFromLanguages - A list of vscode language names where the extension should be used.

cssPeek.peekToExclude - A list of file globs that filters out style files to not look for. By default, node_modules and bower_components

See editor docs for more details

Contributing

Contributions are greatly appreciated. Please fork the repository and submit a pull request.

Changelog

TODO: Keep the changelog upto date

4.2.0

Support VSCode Workspace Trust #107

4.1.1

Add CodeStream Banner

3.0.2

Use Globs for configuration options instead of RegExp via #61 ❤ @arch-stack

2.2.0

Initial JSX support via #49 ❤ @ReiMcCl

2.1.1

(Temporarily) fix bug #19 by handling errors from findDocumentSymbols

2.1.0

Add support for Symbol Provider #18

34041ff146f2845eabafa17a0b664c44.gif

2.0.3

Fix bug #14 that caused CSS Peek to fail after any HTML comments

2.0.2

Fix bug that limited the language support only to HTML. Now supports all languages provided by "activeLanguages" config

2.0.1

Fix an error wherby the Overview was missing on the Visual Studio Marketplace

2.0.0

A complete rewrite featuring the new Language Server Protocol

Added scss support

Added multi definition support (provides all CSS rules matching the selector)

Added support for HTML tag selectors

1.3.3

New Logo

1.3.0

Add configuration option to ignore file from CSS lookup

1.2.4

Crucial bug fix

1.2.3

Workaround for bug if large number of files exist

1.2.2

Better recognition of CSS selector word from cursor position

Optimize code for fewer file lookups

1.2.1

Fix README typo

1.2.0

Add less support

Configure search file extensions using "css_peek.searchFileExtensions"

1.1.0

Update Icon

1.0.0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值