Giter Club home page Giter Club logo

vscode-extension-tizentv's Introduction


logo
VS Code - TizenTV

Generate/Edit/Package/Launch(Run, Debug) your applications with Tizen Targets

'TizenTV' is a VS Code extension that provides a lightweight IDE for Tizen application developers, helps to generate, update and package an application, also launch (run, debug mode) an application on Tizen targets.

Demo

Supported features

  • Tizen TV: Create Web Project
    Create a Tizen web application based on templates
  • Tizen TV: Run Certificate Manager
    Create/Retrieve/Update/Delete an author's profile by tizentv
  • Tizen TV: Build Signed Package
    Build the Tizen application into a Tizen package, the package will be located in workspace's root
  • Tizen TV: Launch Application
    Launch Tizen application on tizen TV, TV Emulator or TV Simulator, please configure the target address in user setting, also set TV as developer mode
  • Tizen TV: Debug Application Use google-chrome to debug with web inspector, please configure the chrome executable's path in user setting
  • Tizen TV: Show Output Open Tizen TV output channel for details
  • Tizen TV: Wits Start (Install and Live reload) Development tool for helping to run and develop your Tizen web application easily on your 2017+ Samsung TV. Find more details about Wits at https://github.com/Samsung/Wits
  • Tizen TV: Wits Watch (Live reload)
    Run live reload without installing the package again.
  • Tizen TV: Wits Stop
    Stop live reload feature.
  • Tizen TV: Wits Show Output
    Open Wits output channel for details
  • Tizen TV: Set Target Device Address
    Set Target device address to launch application.
  • Tizen TV: Excluding files
    Set excluding files not to build

Getting Started

The extension supports most of the basic features required to develop a Tizen TV app. It supports to create application using predefined templates, package the application, sign the application using certificate profile, launch (run / debug) application on TV Simulator, Emulator and Tizen TV.

Setup Environment

  1. Install latest VS Code release
    https://code.visualstudio.com
    https://code.visualstudio.com/docs/setup/setup-overview
  2. Execute ext install tizentv in command pallete(or clone tizentv-x.x.x.vsix from github, install with terminal command)
    # code --install-extension tizentv-x.x.x.vsix
  3. Start or Reload VS Code
  4. Use F1 to open the palette and input >Tizen TV to find commands

commands

Command Configuration

For running/debugging an app, please configure one of below items:
File > Preferences > User Settings or Code > Preferences > User Settings

  • tizentv.hostPCAddress
    Configuration of user's host PC IP address
  • tizentv.targetDeviceAddress
    Configuration of target TV's IP address
  • tizentv.simulatorExecutable
    Configuration of TV simulator's executable location
  • tizentv.excludeFiles
    Add files should be excluded
  • tizentv.chromeExecutable
    Configuration of chrome executable's path
  • tizentv.portForward
    Configuration of target TV's debug port

setting

FAQ

How to launch/debug a web app on RTL TV (Remote Test Lab TV)?

Simulator is not working on mac os.

  • Open settings.json
  • Check the value of "tizentv.simulatorExecutable"
  • Try with "/Users/[your account]/tizen-studio/tools/sec-tv-simulator/nwjs.app/Contents/MacOS/nwjs"

Footer

If you have any issue, please leave a github issue.

vscode-extension-tizentv's People

Contributors

dependabot[bot] avatar jounsun avatar keyuan0701 avatar prate3k avatar prozanne avatar pwsses avatar sejoongdejang avatar somang-park avatar taronlee avatar tianhao-srcn avatar xueli-hu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-extension-tizentv's Issues

wits watch command get Error

here is Error log

what should I do with this

[email protected] wits-watch
wits --watch


| | /| / / / /
| |/ |/ // / / / (-<
|/|/
/ // /__/

Start running Wits watch mode............

[@tizentv/tools]tools.getToolPath: toolName = sdb
Error: Command failed: C:\tizentv-tools\sdb\sdb.exe -s emulator-26101 shell 0 debug xi50qNhrQU.reactWITs
closed

at checkExecSyncError (node:child_process:828:11)
at execSync (node:child_process:899:15)
at Object.launchDebugMode (C:\workspace\tizenreact\node_modules\@tizentv\wits\lib\appLaunchHelper.js:74:13)
at Object.run (C:\workspace\tizenreact\node_modules\@tizentv\wits\command\watch.js:36:35)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {

status: 1,
signal: null,
output: [ null, '', 'closed\r\n' ],
pid: 4064,
stdout: '',
stderr: 'closed\r\n'
}

Setting active profile

I'm sure this is solved, but I keep getting

Build Package (Build failed: no active profile!)

And I don't see where I set the active profile. I've definitely created a certificate at least 2-3 times.

reject is not defined

I receive a reject is not defined error whenever I try to launch a tv application.
image

I'm running on macOS Big Sur version 11.0.1. I took a look in the plugin directory and suspect it's something wrong with jQuery.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.