{"id":20218645,"url":"https://github.com/codingbeard/sciter-tiscript-intellisense","last_synced_at":"2026-03-05T09:04:12.836Z","repository":{"id":83321077,"uuid":"157408392","full_name":"CodingBeard/sciter-tiscript-intellisense","owner":"CodingBeard","description":"set your ide to detect tiscript as typescript and stick the stubs file somewhere in your repo","archived":false,"fork":false,"pushed_at":"2018-11-13T16:30:02.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T11:43:29.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodingBeard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-13T16:09:58.000Z","updated_at":"2019-09-29T02:34:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b391e76-cd12-423d-8c27-82d3633413f2","html_url":"https://github.com/CodingBeard/sciter-tiscript-intellisense","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodingBeard/sciter-tiscript-intellisense","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingBeard%2Fsciter-tiscript-intellisense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingBeard%2Fsciter-tiscript-intellisense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingBeard%2Fsciter-tiscript-intellisense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingBeard%2Fsciter-tiscript-intellisense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodingBeard","download_url":"https://codeload.github.com/CodingBeard/sciter-tiscript-intellisense/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingBeard%2Fsciter-tiscript-intellisense/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30117498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T08:19:04.902Z","status":"ssl_error","status_checked_at":"2026-03-05T08:17:37.148Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T06:39:17.282Z","updated_at":"2026-03-05T09:04:12.782Z","avatar_url":"https://github.com/CodingBeard.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# sciter-tiscript-intellisense\nSet your ide to detect tiscript as typescript and stick the stubs file somewhere in your repo.\n\nNote that methods/properties which return multiple values are not 100% accurate as typescript doesn't support that. In those places I have it typehinted to return: MultipleReturnValue\n\nIf you're using Intellij Idea Ultimate (which supports typescript) it's helpful to empty the lib.es6.d.ts definition file in C:\\Program Files\\JetBrains\\IntelliJ IDEA 2018.1.6\\plugins\\JavaScriptLanguage\\jsLanguageServicesImpl\\external\\lib.es6.d.ts\nThis way you won't have any es6/typescript intellisense confusing you.\nYou can also get \u003cscript type=\"text/tiscript\"\u003e defined as typescript in intellij by following: https://intellij-support.jetbrains.com/hc/en-us/community/posts/207004385-How-do-I-highlight-my-inline-script-with-type-text-javascript-lazy-as-if-it-were-javascript-\n\nNotes:\n\nuse the variable name evt for Event object typehinting in handler functions\n\nI haven't added stubs for the following (feel free to add a PR):\n- Behavior\n- Graphics\n- Image\n- Sciter\n- DataSocket\n- WebSocket\n- Tokenizer\n\ntiscript class inheritance and function declaration breaks typescript syntax, so you won't get intellisense on any custom classes you create\n\nTry to use typescript compatible functions E.G.\n```\n    self.select() instead of self.$()\n    self.ready = function() {} instead of function self.ready() {}\n    dip(100) instead of 100dip\n    function hashType(type) {return eval(type);} hashType(\"#view\") instead of #view\n    etc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingbeard%2Fsciter-tiscript-intellisense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingbeard%2Fsciter-tiscript-intellisense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingbeard%2Fsciter-tiscript-intellisense/lists"}