https://github.com/chris2011/netbeans-nativescript-code-templates
Code templates for NativeScript in Netbeans. Templates exists for HTML.
https://github.com/chris2011/netbeans-nativescript-code-templates
Last synced: 6 months ago
JSON representation
Code templates for NativeScript in Netbeans. Templates exists for HTML.
- Host: GitHub
- URL: https://github.com/chris2011/netbeans-nativescript-code-templates
- Owner: Chris2011
- License: mit
- Created: 2016-08-23T08:42:43.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-11T13:57:15.000Z (almost 10 years ago)
- Last Synced: 2025-04-02T23:28:28.602Z (over 1 year ago)
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
NativeScript Snippets for NetBeans
This extension for NetBeans adds snippets for NativeScript Tags in XML files.
It is based on the Visual Studio Code implementation: NativeScript + Angular 2 Snippets for VS Code
XML
Usage
Type part of a snippet, press enter or tab, and the snippet unfolds.
UI Components
Layouts
-
nsabsolute - Absolute Layout
-
nsdock - Dock Layout
-
nsgrid - Grid Layout
-
nsgrid_2x2 - Grid Layout 2x2
-
nsgrid_2x2_auto - Grid Layout 2x2 Automatic Width/Height
-
nsgrid_3x3_auto - Grid Layout 3x3 Automatic Width/Height
-
nsgrid_4x3_auto - Grid Layout 4x3 Automatic Width/Height
-
nsgrid_4x4_auto - Grid Layout 4x4 Automatic Width/Height
-
nsgrid_3x3 - Grid Layout 3x3
-
nsgrid_4x3 - Grid Layout 4x3
-
nsgrid_4x4 - Grid Layout 4x4
-
nsstack - Stack Layout
-
nsstack_horizontal - Stack Layout Horizontal
-
nswrap - Wrap Layout
Widgets
-
nsactionbar - Action Bar
-
nsactionbarcustomtitle - Action Bar with Custom Title
-
nsactionbarback - Action Bar with Back Button
-
nslabel - Label
-
nstextfield - Text Field
-
nspassword - Secure Text Field (for passwords)
-
nstextview_editable - Text View (editable)
-
nstextview_non-editable - Text View (non editable)
-
nsimg - Image
-
nsborder - Border
-
nsbtn - Button
-
nssearchbar - Search Bar
-
nsswitch - Switch
-
nsslider - Slider
-
nsprogress - Progress
-
nsloading - Activity Indicator
-
nsdate - Date Picker
-
nstime - Time Picker
-
nslistpicker - List Picker
-
nssegmentedbar - Segmented Bar
-
nstabview - Tab View
-
nslistview - List View
-
nswebview - Web View
-
nsscrollview - Scroll View
How to install
Install the plugin.
Test it into a XML file (Examples: shortcut ngtime + TAB => <TimePicker [hour]="... )
Known Bugs
XML code completion doesn't include the code templates, but the code templates are working well. I created a ticket for this.