{"action":"opened","issue":{"url":"https://api.github.com/repos/angelozerr/angularjs-eclipse/issues/193","repository_url":"https://api.github.com/repos/angelozerr/angularjs-eclipse","labels_url":"https://api.github.com/repos/angelozerr/angularjs-eclipse/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/angelozerr/angularjs-eclipse/issues/193/comments","events_url":"https://api.github.com/repos/angelozerr/angularjs-eclipse/issues/193/events","html_url":"https://github.com/angelozerr/angularjs-eclipse/issues/193","id":147487443,"number":193,"title":"Auto complete not working on Eclipse Mars 4.5.2","user":{"login":"mihaibuba","id":18402330,"avatar_url":"https://avatars.githubusercontent.com/u/18402330?v=3","gravatar_id":"","url":"https://api.github.com/users/mihaibuba","html_url":"https://github.com/mihaibuba","followers_url":"https://api.github.com/users/mihaibuba/followers","following_url":"https://api.github.com/users/mihaibuba/following{/other_user}","gists_url":"https://api.github.com/users/mihaibuba/gists{/gist_id}","starred_url":"https://api.github.com/users/mihaibuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihaibuba/subscriptions","organizations_url":"https://api.github.com/users/mihaibuba/orgs","repos_url":"https://api.github.com/users/mihaibuba/repos","events_url":"https://api.github.com/users/mihaibuba/events{/privacy}","received_events_url":"https://api.github.com/users/mihaibuba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-11T16:47:31Z","updated_at":"2016-04-11T16:47:31Z","closed_at":null,"body":"Since I did nothing really special, I am assuming it is due to the version of Eclipse I am using, which is 4.5.2, (but this is just a strong guess!); anyway here it is:\r\nSteps to reproduce:\r\n- Install version 1.1.0 of the plugin from the marketplace, with all additional features (both required and optional)\r\n- Configured tern to run both as native (v 4.4.2), as well as embedded\r\n- Imported angular-seed from git;\r\n- Configure -> Convert to AngularJS\r\n- Opened up view1.js and typed \"anglar.\"\r\n\r\nExpected:\r\nA pop-up with the auto complete options.\r\n\r\nActual:\r\nNothing happening.\r\n\r\nEnvironment:\r\neclipse-jee-4.5.2-mars-2-SR2-win32-x86_64\r\n\r\nTarn console output:\r\nTern response#definition with 53ms: \r\nProject dir: D:\\My Documents\\Software Development\\git\\angular-seed\r\nNodejs Commnand: \"D:\\My Documents\\Software Development\\eclipse-jee-4.5.2-mars-2-SR2-win32-x86_64\\plugins\\tern.eclipse.ide.server.nodejs.embed.win32.win32.x86_64_1.1.0.201511082254\\node-v0.10.22-win32-x86_64\\node.exe\" \"D:\\My Documents\\Software Development\\eclipse-jee-4.5.2-mars-2-SR2-win32-x86_64\\plugins\\ternjs_1.1.0.201511082254\\node_modules\\tern\\bin\\tern\" --no-port-file --disable-loading-local\r\nTern response#definition with 14ms: \r\n-----------------------------------\r\n{\"origin\":\"app/view1/view1.js\",\"start\":37,\"end\":50,\"file\":\"app/view1/view1.js\",\"contextOffset\":37,\"context\":\"'use strict';\\nangular\\nangular.module('myApp.view1'\"}\r\n\r\n{\"query\":{\"type\":\"definition\",\"file\":\"app/view1/view1.js\",\"end\":44},\"files\":[{\"name\":\"app/view1/view1.js\",\"text\":\"'use strict';\\nangular\\nangular.module('myApp.view1', ['ngRoute'])\\n\\n.config(['$routeProvider', function($routeProvider) {\\n  $routeProvider.when('/view1', {\\n    templateUrl: 'view1/view1.html',\\n    controller: 'View1Ctrl'\\n  });\\n}])\\n\\n.controller('View1Ctrl', [function() {\\n\\n}]);\",\"type\":\"full\"}]}\r\nTern request#definition: \r\n-----------------------------------\r\n-----------------------------------\r\n{\"origin\":\"app/view1/view1.js\",\"start\":37,\"end\":50,\"file\":\"app/view1/view1.js\",\"contextOffset\":37,\"context\":\"'use strict';\\nangular\\nangular.module('myApp.view1'\"}\r\n\r\n{\"query\":{\"type\":\"definition\",\"file\":\"app/view1/view1.js\",\"end\":44},\"files\":[{\"name\":\"app/view1/view1.js\",\"text\":\"'use strict';\\nangular\\nangular.module('myApp.view1', ['ngRoute'])\\n\\n.config(['$routeProvider', function($routeProvider) {\\n  $routeProvider.when('/view1', {\\n    templateUrl: 'view1/view1.html',\\n    controller: 'View1Ctrl'\\n  });\\n}])\\n\\n.controller('View1Ctrl', [function() {\\n\\n}]);\",\"type\":\"full\"}]}\r\nServer started at 65395 in 291ms\r\nTern request#definition: \r\n.tern-project: {\r\n  \"ecmaVersion\": 5,\r\n  \"ide\": {\r\n    \"scriptPaths\": [\r\n      {\r\n        \"type\": \"PROJECT\",\r\n        \"path\": \"helloconsumeronline\"\r\n      }\r\n    ]\r\n  },\r\n  \"plugins\": {\r\n    \"guess-types\": {\r\n      \r\n    },\r\n    \"outline\": {\r\n      \r\n    },\r\n    \"angular\": {\r\n      \r\n    }\r\n  },\r\n  \"libs\": [\r\n    \"ecma5\",\r\n    \"browser\"\r\n  ]\r\n}\r\n-----------------------------------\r\nTern request#: \r\n{\"files\":[{\"name\":\"app/view1/view1.js\",\"text\":\"\",\"type\":\"full\"}]}\r\n\r\nTern response# with 23ms: \r\n{}\r\n-----------------------------------\r\n-----------------------------------\r\nTern request#type: \r\n{\"query\":{\"type\":\"type\",\"file\":\"app/view1/view1.js\",\"end\":93,\"docs\":true,\"urls\":true,\"types\":true},\"files\":[{\"name\":\"app/view1/view1.js\",\"text\":\"'use strict';\\nangular\\nangular.module('myApp.view1', ['ngRoute'])\\n\\n.config(['$routeProvider', function($routeProvider) {\\n  $routeProvider.when('/view1', {\\n    templateUrl: 'view1/view1.html',\\n    controller: 'View1Ctrl'\\n  });\\n}])\\n\\n.controller('View1Ctrl', [function() {\\n\\n}]);\",\"type\":\"full\"}]}\r\n\r\nTern response#type with 20ms: \r\n{\"type\":\"fn($routeProvider: provider.$routeProvider)\",\"origin\":\"app/view1/view1.js\"}\r\n-----------------------------------\r\n-----------------------------------\r\nTern request#: \r\n{\"files\":[{\"name\":\"target/classes/META-INF/MANIFEST.MF\",\"text\":\"\",\"type\":\"full\"},{\"name\":\"target/classes/META-INF/maven/angular-seed/angular-seed/pom.properties\",\"text\":\"\",\"type\":\"full\"},{\"name\":\"target/classes/META-INF/maven/angular-seed/angular-seed/pom.xml\",\"text\":\"\",\"type\":\"full\"}]}\r\n\r\nTern response# with 20ms: \r\n{}\r\n-----------------------------------\r\nNodejs Commnand: \"D:\\My Documents\\Software Development\\eclipse-jee-4.5.2-mars-2-SR2-win32-x86_64\\plugins\\tern.eclipse.ide.server.nodejs.embed.win32.win32.x86_64_1.1.0.201511082254\\node-v0.10.22-win32-x86_64\\node.exe\" \"D:\\My Documents\\Software Development\\eclipse-jee-4.5.2-mars-2-SR2-win32-x86_64\\plugins\\ternjs_1.1.0.201511082254\\node_modules\\tern\\bin\\tern\" --no-port-file --disable-loading-local\r\nProject dir: D:\\My Documents\\Software Development\\git\\angular-seed\r\n.tern-project: {\r\n  \"ecmaVersion\": 5,\r\n  \"ide\": {\r\n    \"scriptPaths\": [\r\n      {\r\n        \"type\": \"FOLDER\",\r\n        \"path\": \"app\"\r\n      },\r\n      {\r\n        \"type\": \"FOLDER\",\r\n        \"path\": \"app/components\"\r\n      },\r\n      {\r\n        \"type\": \"FOLDER\",\r\n        \"path\": \"app/components/version\"\r\n      },\r\n      {\r\n        \"type\": \"FOLDER\",\r\n        \"path\": \"app/view1\"\r\n      },\r\n      {\r\n        \"type\": \"FOLDER\",\r\n        \"path\": \"app/view2\"\r\n      }\r\n    ]\r\n  },\r\n  \"plugins\": {\r\n    \"guess-types\": {\r\n      \r\n    },\r\n    \"outline\": {\r\n      \r\n    },\r\n    \"angular\": {\r\n      \r\n    }\r\n  },\r\n  \"libs\": [\r\n    \"ecma5\",\r\n    \"browser\"\r\n  ]\r\n}\r\n-----------------------------------\r\nTern request#: \r\nServer started at 50819 in 937ms\r\n{\"files\":[{\"name\":\"app/app.js\",\"text\":\"'use strict';\\n\\n// Declare app level module which depends on views, and components\\nangular.module('myApp', [\\n  'ngRoute',\\n  'myApp.view1',\\n  'myApp.view2',\\n  'myApp.version'\\n]).\\nconfig(['$routeProvider', function($routeProvider) {\\n  $routeProvider.otherwise({redirectTo: '/view1'});\\n}]);\\n\",\"type\":\"full\"},{\"name\":\"app/components/version/interpolate-filter.js\",\"text\":\"'use strict';\\n\\nangular.module('myApp.version.interpolate-filter', [])\\n\\n.filter('interpolate', ['version', function(version) {\\n  return function(text) {\\n    return String(text).replace(/\\\\%VERSION\\\\%/mg, version);\\n  };\\n}]);\\n\",\"type\":\"full\"},{\"name\":\"app/components/version/interpolate-filter_test.js\",\"text\":\"'use strict';\\n\\ndescribe('myApp.version module', function() {\\n  beforeEach(module('myApp.version'));\\n\\n  describe('interpolate filter', function() {\\n    beforeEach(module(function($provide) {\\n      $provide.value('version', 'TEST_VER');\\n    }));\\n\\n    it('should replace VERSION', inject(function(interpolateFilter) {\\n      expect(interpolateFilter('before %VERSION% after')).toEqual('before TEST_VER after');\\n    }));\\n  });\\n});\\n\",\"type\":\"full\"},{\"name\":\"app/components/version/version-directive.js\",\"text\":\"'use strict';\\n\\nangular.module('myApp.version.version-directive', [])\\n\\n.directive('appVersion', ['version', function(version) {\\n  return function(scope, elm, attrs) {\\n    elm.text(version);\\n  };\\n}]);\\n\",\"type\":\"full\"},{\"name\":\"app/components/version/version-directive_test.js\",\"text\":\"'use strict';\\n\\ndescribe('myApp.version module', function() {\\n  beforeEach(module('myApp.version'));\\n\\n  describe('app-version directive', function() {\\n    it('should print current version', function() {\\n      module(function($provide) {\\n        $provide.value('version', 'TEST_VER');\\n      });\\n      inject(function($compile, $rootScope) {\\n        var element = $compile('<span app-version></span>')($rootScope);\\n        expect(element.text()).toEqual('TEST_VER');\\n      });\\n    });\\n  });\\n});\\n\",\"type\":\"full\"},{\"name\":\"app/components/version/version.js\",\"text\":\"'use strict';\\n\\nangular.module('myApp.version', [\\n  'myApp.version.interpolate-filter',\\n  'myApp.version.version-directive'\\n])\\n\\n.value('version', '0.1');\\n\",\"type\":\"full\"},{\"name\":\"app/components/version/version_test.js\",\"text\":\"'use strict';\\n\\ndescribe('myApp.version module', function() {\\n  beforeEach(module('myApp.version'));\\n\\n  describe('version service', function() {\\n    it('should return current version', inject(function(version) {\\n      expect(version).toEqual('0.1');\\n    }));\\n  });\\n});\\n\",\"type\":\"full\"},{\"name\":\"app/view1/view1.js\",\"text\":\"'use strict';\\nangular\\nangular.module('myApp.view1', ['ngRoute'])\\n\\n.config(['$routeProvider', function($routeProvider) {\\n  $routeProvider.when('/view1', {\\n    templateUrl: 'view1/view1.html',\\n    controller: 'View1Ctrl'\\n  });\\n}])\\n\\n.controller('View1Ctrl', [function() {\\n\\n}]);\",\"type\":\"full\"},{\"name\":\"app/view1/view1_test.js\",\"text\":\"'use strict';\\n\\ndescribe('myApp.view1 module', function() {\\n\\n  beforeEach(module('myApp.view1'));\\n\\n  describe('view1 controller', function(){\\n\\n    it('should ....', inject(function($controller) {\\n      //spec body\\n      var view1Ctrl = $controller('View1Ctrl');\\n      expect(view1Ctrl).toBeDefined();\\n    }));\\n\\n  });\\n});\",\"type\":\"full\"},{\"name\":\"app/view2/view2.js\",\"text\":\"'use strict';\\n\\nangular.module('myApp.view2', ['ngRoute'])\\n\\n.config(['$routeProvider', function($routeProvider) {\\n  $routeProvider.when('/view2', {\\n    templateUrl: 'view2/view2.html',\\n    controller: 'View2Ctrl'\\n  });\\n}])\\n\\n.controller('View2Ctrl', [function() {\\n\\n}]);\",\"type\":\"full\"},{\"name\":\"app/view2/view2_test.js\",\"text\":\"'use strict';\\n\\ndescribe('myApp.view2 module', function() {\\n\\n  beforeEach(module('myApp.view2'));\\n\\n  describe('view2 controller', function(){\\n\\n    it('should ....', inject(function($controller) {\\n      //spec body\\n      var view2Ctrl = $controller('View2Ctrl');\\n      expect(view2Ctrl).toBeDefined();\\n    }));\\n\\n  });\\n});\",\"type\":\"full\"}]}\r\n\r\n{}\r\n-----------------------------------\r\nTern response# with 45ms: \r\n"}}