I am struggling to get code completion for suitescript 2.0 working in Eclipse.
Eclipse Version: Luna Service Release 2 (4.4.2) Build id: 20150219-0600 SuiteCloud IDE version: 2016.1.0.e4 OS: Mac 10.11.4
Example when I create a suitelet using suitescript 2.0 and I type the following code I get no completion or suggestions for suitescript
if (context.request.method === 'GET') {
var form = ui.createForm({
title: 'Demo Suitelet Form'
});
var subject = form.addField({
id: 'subject',
type: ui.FieldType.TEXT,
label: 'Subject'
});
Any thoughts?