{ "id": "175406", "key": "TIMOB-28070", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21051", "description": "", "name": "Release 9.2.0", "archived": false, "released": true, "releaseDate": "2020-09-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-09-08T13:09:31.000+0000", "created": "2020-08-05T22:13:25.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "app", "editor", "template", "vscode" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-09-08T13:09:31.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Summary:*\r\nWe should add {{.vscode/}} JSON configuration files to our Titanium app templates which hide the generated folders (like the \"build\" folder) and suggest VS Code users to use our extension.\r\n\r\n*Classic App Folder Exclusion:*\r\nFor Classic apps, we only need to hide the {{./build}} folder from the editor and exclude it from file monitoring/search.\r\n\r\n{{.vscode/settings.json}}\r\n{code:json}\r\n{\r\n\t\"files.exclude\": {\r\n\t\t\"build/\": true\r\n\t},\r\n\t\"search.exclude\": {\r\n\t\t\"build/\": true\r\n\t},\r\n\t\"files.watcherExclude\": {\r\n\t\t\"build/\": true\r\n\t},\r\n}\r\n{code}\r\n\r\n*Alloy/Angular App Folder Exclusion:*\r\nFor all other app templates, the project's root {{./i18n}}, {{./platform}}, and {{./Resources}} folders are generated from the project's {{./app}} folder. So, these folders need to be excluded as well.\r\n\r\n{{.vscode/settings.json}}\r\n{code:json}\r\n{\r\n\t\"files.exclude\": {\r\n\t\t\"build/\": true,\r\n\t\t\"i18n/\": true,\r\n\t\t\"platform/\": true,\r\n\t\t\"Resources/\": true\r\n\t},\r\n\t\"search.exclude\": {\r\n\t\t\"build/\": true,\r\n\t\t\"i18n/\": true,\r\n\t\t\"platform/\": true,\r\n\t\t\"Resources/\": true\r\n\t},\r\n\t\"files.watcherExclude\": {\r\n\t\t\"build/\": true,\r\n\t\t\"i18n/\": true,\r\n\t\t\"platform/\": true,\r\n\t\t\"Resources/\": true\r\n\t}\r\n}\r\n{code}\r\n\r\n*Promoting Titanium's Extension:*\r\nWhen opening the app project folder in VS Code, we can have the editor recommend the end-user to use our Titanium extension by adding the following JSON file.\r\n\r\n{{.vscode/extensions.json}}\r\n{code:json}\r\n{\r\n\t\"recommendations\": [\r\n\t\t\"axway.vscode-titanium\"\r\n\t]\r\n}\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "TiAPI: Add vscode json files to app templates", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "456352", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/11870", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-05T22:38:57.000+0000", "updated": "2020-08-05T22:38:57.000+0000" }, { "id": "456516", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-08-19T14:42:58.000+0000", "updated": "2020-08-19T14:42:58.000+0000" }, { "id": "456561", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master, backported by [~eharris] to 9_3_X", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-08-24T13:42:23.000+0000", "updated": "2020-08-24T13:42:23.000+0000" }, { "id": "456761", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*. improvement verified in SDK version {{9.2.0.v20200908050955}}, and {{9.3.0.v20200908051946}}.\r\n\r\nTest and other information can be found at: \r\nPR (master): https://github.com/appcelerator/titanium_mobile/pull/11870", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-08T13:09:23.000+0000", "updated": "2020-09-08T13:09:23.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }