From: geunhui.lim Date: Thu, 10 Dec 2015 05:00:34 +0000 (+0900) Subject: [WebTools] jslint link is modified X-Git-Tag: tizen_3.0/TD_SYNC/20161201~282^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=baae3547ef73425f681bf93a522687a6afa1b5e9;p=sdk%2Fonline-doc.git [WebTools] jslint link is modified Change-Id: I0000010000000000000033300000000000000110 Signed-off-by: geunhui.lim --- diff --git a/org.tizen.devtools/html/web_tools/set_ide_preference_w.htm b/org.tizen.devtools/html/web_tools/set_ide_preference_w.htm index 52092fa..ccf7b1d 100644 --- a/org.tizen.devtools/html/web_tools/set_ide_preference_w.htm +++ b/org.tizen.devtools/html/web_tools/set_ide_preference_w.htm @@ -1,165 +1,165 @@ - - - - - - - - - - - - - - IDE Preferences - - - - - -
-

IDE Preferences

- -

To set Web IDE preferences, go to Window > Preferences > Tizen SDK > Web in the Tizen IDE menu.

-

You can set the preferences introduced in the following sections.

- -

Widget ID

-

To set a customized prefix for the widget ID, enter the value in the Prefix to the Widget ID field. The default value of this field is http://yourdomain/.

-

The value is automatically used in all widget IDs when you create a new Web application in the IDE. You can view the widget ID in the config.xml file of the project.

- -

Chrome™ Browser Path

-

Go to Tizen SDK > Web > Chrome.

-

The Google Chrome™ browser location is automatically set as default if the Chrome™ browser is installed in your system.

-

In case you install the browser in a custom path, the IDE cannot automatically detect the path and you must set the location manually.

- -

Editor

-

Go to Tizen SDK > Web > Editor.

-

Tizen SDK provides advanced editor features, such as file path content assist. These features are required to search files in the project.

-

Project Resource Lookup Setting > Excluded Folders: Specify the folders that you want to exclude from searching files.

- -

Configuration Editor

-

Go to Tizen SDK > Web > Editor > Configuration Editor.

-

To stop error messages from being displayed if you incorrectly modify the config.xml source file, select the Don't show error message check box.

- -

CSS Editor

-

Go to Tizen SDK > Web > Editor > CSS Editor.

-

Tizen provides the W3C CSS validation parser for checking the CSS syntax.

-

You can set the following validation times:

-
    -
  • Build
  • -
  • Reconcile
  • -
-

You can set the following check levels:

-
    -
  • Ignore
  • -
  • Warning
  • -
  • Error
  • -
-

You can exclude CSS files from parsing by specifying pattern strings, separated by a comma, in the Exclude files that match these patterns from validation field. The default value in this field is min, jquery, jqm-docs, phonegap, sencha, TAU(Tizen Advanced UI), globalize, coderdeck, modernizr. For instance, since parsing the jquery.mobile-1.0a4.1.min.css file generates many warnings, the default pattern string values exclude the parsing of this CSS file.

- -

HTML Editor

-

Go to Tizen SDK > Web > Editor > HTML Editor.

-

You can set the visibility of the breadcrumb control in the HTML editor. If you clear the Show breadcrumb checkbox, the breadcrumb control is not visible in the HTML editor.

- -

JavaScript Editor

-

Go to Tizen SDK > Web > Editor > JavaScript Editor.

-

In the JavaScript Editor, you can modify several JSLint options. JSLint is a JavaScript code quality tool.

- -

Json Editor

-

Go to Tizen SDK > Web > Editor > Json Editor.

-

You can insert spaces for tabs in JSON by selecting the Insert Spaces for Tabs check box. In the Number of spaces to indent field, enter the number of spaces to indent for tabs.

- -

National Language Support

-

You can view the Tizen IDE in the following languages:

-
    -
  • en (English)

    This is the default language.

  • -
  • de (German)
  • -
  • es (Spanish)
  • -
  • fr (French)
  • -
  • it (Italian)
  • -
  • ja (Japanese)
  • -
  • ko (Korean)
  • -
  • pt_BR (Portuguese)
  • -
  • zh (Chinese)
  • -
  • zh_TW (Chinese Traditional)
  • -
-

To support a language, you must specify the language code. For example, to support the Korean language, edit the eclipse.ini file, which is located in your <TIZEN_SDK_HOME>/ide directory.

-

The following snippet shows the current eclipse.ini file supporting the English language:

-
-clean
--nl
-en
--vmargs
-
-

To support the Korean language, replace en with ko and save the eclipse.ini file.

-
-clean
--nl
-ko
--vmargs
-
- -

Launch

-

Go to Tizen SDK > Web > Launch.

-

Check the option, if you want to launch the application even when the config.xml file has an error. The option is not checked by default.

- -

Live Editing

-

Go to Tizen SDK > Web > Live Editing.

-

You can select only 1 preview preference option, which is whether file content or editor content in shown in the application:

-
    -
  • Select File to change the application when a file is saved.
  • -
  • Select Editor to change the application when the editor content changes. This means that your changes are reflected without saving the changes.
  • -
  • Select None to perform no synchronization.
- -

The following options are also available:

-
    -
  • Live highlight: Check to highlight your cursor in the editor. -

    The option is only available when synchronization with the editor is selected above.

  • -
  • Enable live-editing as default when emulator is launched: Check to enable live editing by default whenever running an application.
  • -
- -

Figure: Live highlight

-

Live highlight

- - - -
- -Go to top - - - - - - + + + + + + + + + + + + + + IDE Preferences + + + + + +
+

IDE Preferences

+ +

To set Web IDE preferences, go to Window > Preferences > Tizen SDK > Web in the Tizen IDE menu.

+

You can set the preferences introduced in the following sections.

+ +

Widget ID

+

To set a customized prefix for the widget ID, enter the value in the Prefix to the Widget ID field. The default value of this field is http://yourdomain/.

+

The value is automatically used in all widget IDs when you create a new Web application in the IDE. You can view the widget ID in the config.xml file of the project.

+ +

Chrome™ Browser Path

+

Go to Tizen SDK > Web > Chrome.

+

The Google Chrome™ browser location is automatically set as default if the Chrome™ browser is installed in your system.

+

In case you install the browser in a custom path, the IDE cannot automatically detect the path and you must set the location manually.

+ +

Editor

+

Go to Tizen SDK > Web > Editor.

+

Tizen SDK provides advanced editor features, such as file path content assist. These features are required to search files in the project.

+

Project Resource Lookup Setting > Excluded Folders: Specify the folders that you want to exclude from searching files.

+ +

Configuration Editor

+

Go to Tizen SDK > Web > Editor > Configuration Editor.

+

To stop error messages from being displayed if you incorrectly modify the config.xml source file, select the Don't show error message check box.

+ +

CSS Editor

+

Go to Tizen SDK > Web > Editor > CSS Editor.

+

Tizen provides the W3C CSS validation parser for checking the CSS syntax.

+

You can set the following validation times:

+
    +
  • Build
  • +
  • Reconcile
  • +
+

You can set the following check levels:

+
    +
  • Ignore
  • +
  • Warning
  • +
  • Error
  • +
+

You can exclude CSS files from parsing by specifying pattern strings, separated by a comma, in the Exclude files that match these patterns from validation field. The default value in this field is min, jquery, jqm-docs, phonegap, sencha, TAU(Tizen Advanced UI), globalize, coderdeck, modernizr. For instance, since parsing the jquery.mobile-1.0a4.1.min.css file generates many warnings, the default pattern string values exclude the parsing of this CSS file.

+ +

HTML Editor

+

Go to Tizen SDK > Web > Editor > HTML Editor.

+

You can set the visibility of the breadcrumb control in the HTML editor. If you clear the Show breadcrumb checkbox, the breadcrumb control is not visible in the HTML editor.

+ +

JavaScript Editor

+

Go to Tizen SDK > Web > Editor > JavaScript Editor.

+

In the JavaScript Editor, you can modify several JSLint options. JSLint is a JavaScript code quality tool.

+ +

Json Editor

+

Go to Tizen SDK > Web > Editor > Json Editor.

+

You can insert spaces for tabs in JSON by selecting the Insert Spaces for Tabs check box. In the Number of spaces to indent field, enter the number of spaces to indent for tabs.

+ +

National Language Support

+

You can view the Tizen IDE in the following languages:

+
    +
  • en (English)

    This is the default language.

  • +
  • de (German)
  • +
  • es (Spanish)
  • +
  • fr (French)
  • +
  • it (Italian)
  • +
  • ja (Japanese)
  • +
  • ko (Korean)
  • +
  • pt_BR (Portuguese)
  • +
  • zh (Chinese)
  • +
  • zh_TW (Chinese Traditional)
  • +
+

To support a language, you must specify the language code. For example, to support the Korean language, edit the eclipse.ini file, which is located in your <TIZEN_SDK_HOME>/ide directory.

+

The following snippet shows the current eclipse.ini file supporting the English language:

+
-clean
+-nl
+en
+-vmargs
+
+

To support the Korean language, replace en with ko and save the eclipse.ini file.

+
-clean
+-nl
+ko
+-vmargs
+
+ +

Launch

+

Go to Tizen SDK > Web > Launch.

+

Check the option, if you want to launch the application even when the config.xml file has an error. The option is not checked by default.

+ +

Live Editing

+

Go to Tizen SDK > Web > Live Editing.

+

You can select only 1 preview preference option, which is whether file content or editor content in shown in the application:

+
    +
  • Select File to change the application when a file is saved.
  • +
  • Select Editor to change the application when the editor content changes. This means that your changes are reflected without saving the changes.
  • +
  • Select None to perform no synchronization.
+ +

The following options are also available:

+
    +
  • Live highlight: Check to highlight your cursor in the editor. +

    The option is only available when synchronization with the editor is selected above.

  • +
  • Enable live-editing as default when emulator is launched: Check to enable live editing by default whenever running an application.
  • +
+ +

Figure: Live highlight

+

Live highlight

+ + + +
+ +Go to top + + + + + + \ No newline at end of file