Giter VIP home page Giter VIP logo

whiteducksoftware.vscode-tm1client's Introduction

White Duck Software TM1 MDX Client extension for Visual Studio Code

Beautify and Run MDX queries on IBM Cognos TM1 multidimensional databases.

Features

  • Beautify MDX statements for better readability with the Format MDX command.
  • Execute MDX statements on a TM1 database with the Execute MDX command.

Getting started

Download the .vsix package and install the extension in your Visual Studio Code or download the git repository and run it directly in Visual Studio Code.

Formatting MDX queries

Formatting MDX queries

Connecting to a TM1 database server and login to a database

Before executing MDX queries you have to connect to and login into a TM1 database server.

Connect to a database server

The port number is the port of the TM1 admin server. By default the server listens on port 5895. The communication with the admin server can only use http connections, not https connections.

Tip: You can also enter the servername as hostname:portnumber

Tip: You can state your mostly used database server as default server in the settings to shorten the connect process.

Execute MDX queries

Execute a MDX query

Requirements

  • TM1 MDX Client is a Visual Studio Code extension, so you need Visual Studio Code to run it.
  • In order to execute MDX statements you must have access to a TM1 database.

Extension Settings

This extension contributes the following settings:

  • whiteducksoftware.tm1client.defaultserver: Default server for connection as hostname:portnumber

Known Issues

  • Not all function names are defined as keywords
  • The formatting parser doesn't know all calculations yet.

Release Notes

0.0.1

Initial release of TM1 client

0.0.2

  • Bugfix: Didn't clear list of databases after re-connect
  • Enhancement: Now recognizes element range expressions (element:element)

Remarks

IBM, TM1, and Cognos are trademarks or registered trademarks of International Business Machines Corp.


whiteducksoftware.vscode-tm1client's People

Stargazers

Pierre Buirette avatar M22Y avatar jerryzu avatar  avatar Jan Dirk Hogewoning avatar Vecdi Burak Bengi avatar Christoph Hein avatar

Watchers

Jan Dirk Hogewoning avatar James Cloos avatar Edward Stuart avatar Andreas Mock avatar  avatar

whiteducksoftware.vscode-tm1client's Issues

Bug on Mac with formatting

Hey guys,
there might be a minor bug in the otherwise awesome tool. On my Mac I get the following error when I try to format the MDX:
Error: ENOENT: no such file or directory, open '.../.vscode/extensions/whiteducksoftware.vscode-tm1client-0.0.2\mdx-language\formatmdx.pegjs'

I guess this is due to the following part in formatMDX.js:
try { let parser = peg.generate(fs.readFileSync(path + '\\mdx-language\\formatmdx.pegjs', 'utf-8')); let output = parser.parse(docContent); editor.edit((e) => { e.replace(editor.selection, output); });

I am pretty sure on a Mac the file path is constructed a little bit different. :-)
Locking forward to future versions.

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.