Skip to content

Instantly share code, notes, and snippets.

@gorkem
gorkem / blink.js
Last active August 29, 2015 14:12
wiring-pi blinking led example
@gorkem
gorkem / WTP-JSDT-Development.markdown
Last active September 30, 2015 20:26 — forked from vrubezhny/WTP-JSDT-Development.markdown
Development and maintenance to do for JSDT and related projects

JSDT

@gorkem
gorkem / bower_npm_and_json_editor.adoc
Last active April 13, 2016 14:43 — forked from ibuziuk/bower_npm_and_json_editor.adoc
eclipse newsletter may 2016

JSDT 2.0 (Bower / npm / JSON editor)

There has been no news for quite a while from the Eclipse JavaScript Development Tools (JSDT). Basically, the project was in a deep support phase for a couple of years. However, the situation has changed dramatically and now we are glad to say that the JSDT project has been officially rebooted. This article, which is dedicated to Bower, npm & JSON editor, is the opening one of the JSDT 2.0 series.

Introduction

Bower and npm are considered to be the most popular JavaScript package managers. Bower focuses on pure front-end, whereas npm mainly deals with Node.js modules. The main advantages of using package managers are:

  • Dependencies are defined in a single manifest file: bower.json / package.json

  • No need to commit dependencies to version control repository

  • Easy to distribute among team members

File Level Operations

A workspace edit represents changes to many resources managed in the workspace. The edit should either provide changes or documentChanges. If the client can handle versioned document edits and if documentChanges are present, the latter are preferred over changes.

A workspace edit can optionally provide resource changes. If present resource changes are applies after the changes/documentChanges has been applied.

interface  WorkspaceEdit{
  TextEdit[] changes 
  TextDocumentEdit[] documentChanges 
@gorkem
gorkem / jsplugins.md
Created January 4, 2018 15:36
Developing Che IDE plugins using JavaScript

Developing Che IDE plugins using JavaScript

Since version 6.XXX it is possible to develop plugins to Che IDE using JavaScript. This tutorial covers getting started topics for developing JavaScript based Che IDE plugins, refer to API documentation for API specific information.

Your plugin's life-cycle

Each Che JS plugin is independent WebPack AMD library. We considered to not add ability to share JS libraries across plugins. IDE will pick up the plugin description files, add all static information(contributions) and load plugin script file and calls activate function.

Plugin Description

@gorkem
gorkem / .devfile
Last active March 10, 2019 18:24
penfold devfile
---
specVersion: 0.0.1
name: nodejs-rest-http
projects:
- name: node-rest
source:
type: git
location: "https://github.com/nodeshift-starters/nodejs-rest-http.git"
tools:
- name: theia-editor
@gorkem
gorkem / devfile.yaml
Created December 7, 2020 17:32
gastsby devfile
schemaVersion: 2.0.0
components:
- name: gatsby
container:
image: quay.io/eclipse/che-nodejs10-ubi:nightly
mountSources: true
memoryLimit: 700Mi
endpoints:
- name: web
targetPort: 8000