New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

stylable-intelligence

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylable-intelligence

Stylable Language Services

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
45
decreased by-18.18%
Maintainers
3
Weekly downloads
 
Created
Source

Build Status Build Status

Scope

This document is about the stylable-intelligence project setup and development. Readme for the extension itself is at https://github.com/wix/stylable-intelligence/tree/master/packages/client/README.md

Project Setup

  • Clone this repo
  • Run yarn to install dependencies
    • (investigate what's up with postinstall and prepublish hooks)
  • Run yarn vscode:prepublish ?? (needs to investigate further)
  • Run yarn test to test and build (both server and client)
  • To launch and debug the extension: (needs to investigate further)
    1. open vscode in packages/client/ and in packages/server/.
    2. Choose the 'Launch Extension' configuration in the client vscode.
    3. Once the extension is launched, choose the 'Attach' configuration in the server vscode.

Brain Dump

Client

Build Status Build Status

Overview

Stylable Intelligence is an extension implementing the Language Server Protocol that provides IDE support for Stylable.

Stylable Intelligence is currently only supported in VSCode (version 1.18.0 and later). Support for JetBrains IDEs (WebStorm, IntelliJ) is planned.

Currently supported: Code Completions, Diagnostics, Go to Definition, Syntax Highlighting

All CSS language support functionality is also supported (hover hints, inline color picker, etc.). Some CSS diagnostics no longer apply in Stylable and are filtered out.

Other Language Server features will be added in the near future.

Installation

From VSCode Marketplace

Search VSCode Extension Marketplace for 'Stylable Intelligence'.

Install extension.

Reload window when prompted by VsCode.

From .vsix file

In VsCode extension menu, choose 'Install from VSIX'.

Double-click your .vsix file.

Reload window when prompted by VsCode.

Known Issues

Not supported yet (in rough order of priority):

  • Mixins and JS imports - WIP
  • Variants
  • Esoteric syntax (-st-compose, -st-theme, -st-root, -st-global)
  • Find References
  • Rename/Refactor

Server

stylable-intelligence-server

stylable-intelligence completion provider to be consumed outside of the context of vscode extension.

import {MinimalDocs, createProvider, Provider } from 'stylable-intelligence-server'

Keywords

FAQs

Package last updated on 21 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc