Code Monkey home page Code Monkey logo

vscode-looker's Introduction

Project State

The project's current state is not useful. The LookML grammar is not working as one would expect.

I stopped working on this project about a year ago. Primarily, due to time. I've many ideas for useful tools, however, the whole project depends on a LookML language grammar, written in TextMate, using regex, in a VSCode formatted file. In short, it is extremely tedious and time intensive to get right. So! I'll probably only continue work if many people feel it would be useful and I get a bit of spare time. Or if any regex-TextMate-VSCode masters would like to help define the grammar.

Looker Visual Studio Code Extension

A Visual Studio Code extension meant to aid in the development of LookML -- Looker's custom markup language.

Features

Implemented:

  • Syntax highlighting with embedded SQL

  • Storing and retrieval of Looker API credentials.
  • Auto suggest view and field name lookups.

Image

Snippets

Useful templated code shortcuts.

dim + Tab

dimension: name {
    label: "Readable Dimension Name"
    description: "Description of the dimension"
    type: type
    sql: SQL string ;;
}

mes + Tab

measure: name {
    label: "Readable Dimension Name"
    description: "Description of the dimension"
    type: type
    sql: SQL string ;;
}

fil + Tab

filter: name {
    label: "Readable Filter Name"
    description: "Description of the filter"
    type: string
    suggest_dimension: id
    suggest_persist_for: "24 hours"
}

Planned

  • Use of API. For example, running SQL queries directly from Visual Studio Code using Run SQL Runner Query. SQL can be selected, sent to this endpoint, and the result saved to a temporary folder, where it could be viewed with a tabular data viewer like the VScode Excel Viewer extension.
  • LookML validation (with use of API endpoint Validate Project)
  • LookML and SQL auto-formatting.
  • Check if referencing a field from parallel view.
  • Alphabetize include: statements.
  • Auto include view files needed.

Requirements

  • Visual Studio Code

Extension Settings

  • None yet

Known Issues

  • None yet

Release Notes

0.3

  • Syntax highlighting with embedded SQL
  • Storing and retrieval of Looker API credentials.
  • Looker API Login.
  • Parse workspace for field names
  • Completion items for views and their relevant fields.

vscode-looker's People

Contributors

ladvien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vscode-looker's Issues

Install

How do you us this? I usually install extensions via sidebar, or .vscd extentions.

Would like to use, but unsure of how...

Question

Do you have error highlighting here???

question

How do you install this?
I ran npm install then npm compile now what?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.