yomybaby / atom-titanium Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] Atom package for Titanium Alloy
Home Page: https://atom.io/packages/titanium-alloy
License: MIT License
[DEPRECATED] Atom package for Titanium Alloy
Home Page: https://atom.io/packages/titanium-alloy
License: MIT License
Dear Jong Eun Lee ,
First Thank You for Create this Package this is so Cool . Code without Appcelerator Studio .
I have a Classic Titanium Project Build by Appcelerator Studio. Is atom-titanium support the Classic Titanium Project ? or i need to convert to Alloy Project ?
If not support do you plan to add this in your list ?
I know, I know. But electron/electron#8095 looks so damn promising, so that we could assign toggle buttons for styles / views / controllers, rgb color pickers and more there.
/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:262 Uncaught BufferedProcessError: Failed to spawn command alloy
. Make sure alloy
is installed and on your PATH
Mac OSX 10.11.4
Atom 1.7.3
[Enter steps to reproduce below:]
Atom Version: 1.7.2
System: Mac OS X 10.11.4
Thrown From: titanium-alloy package, v0.9.11
Uncaught TypeError: Path must be a string. Received null
At /Users/Odin/.atom/packages/titanium-alloy/lib/ti-pkg-util.js:6
TypeError: Path must be a string. Received null
at assertPath (path.js:8:11)
at Object.posix.join (path.js:479:5)
at Object.getAlloyRootPath (/Users/Odin/.atom/packages/titanium-alloy/lib/ti-pkg-util.js:58:17)
at Object.alloyCompletionRules.getCompletions (/Users/Odin/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:24:28)
at Object.module.exports.getSuggestions (/Users/Odin/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:138:27)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:310:56
at Array.forEach (native)
at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:289:17)
at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:276:19)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61
-0:57.6.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-0:57.6.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-0:43.2.0 emmet:toggle-comment (atom-text-editor.editor.is-focused)
-0:43.2.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
-0:38.8.0 editor:newline (atom-text-editor.editor.is-focused)
-0:38.2.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
-0:38.2.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)
-0:36.8.0 core:undo (atom-text-editor.editor.is-focused)
3x -0:36 core:backspace (atom-text-editor.editor.is-focused)
-0:34.8.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
-0:34.8.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)
-0:33.2.0 core:undo (atom-text-editor.editor.is-focused)
5x -0:29.9.0 core:backspace (atom-text-editor.editor.is-focused)
-0:25.1.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
-0:24.4.0 core:move-up (atom-text-editor.editor.is-focused.autocomplete-active)
9x -0:21.5.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
{
"core": {
"disabledPackages": [
"autocomplete-atom-api"
],
"openEmptyEditorOnStart": false,
"themes": [
"atom-material-ui",
"atom-material-syntax"
]
},
"titanium-alloy": {
"isAlloy1_8later": false
}
}
# User
atom-material-syntax, v0.3.3
atom-material-ui, v1.2.10
color-picker, v2.1.1
emmet, v2.4.3
file-icons, v1.7.7
highlight-selected, v0.11.2
hyperclick, v0.0.36
jshint, v1.8.5
jsonlint, v1.1.2
language-javascript-jsx, v0.3.7
pigments, v0.26.0
pretty-json, v1.0.3
titanium-alloy, v0.9.11
# Dev
No dev packages
On Ti-slack titanium_atom channel,
buje [3:06 PM]
+1 @yomybaby it will be awesome if you integrated ternjs with alloy atom package :simple_smile:[3:11]
@yomybaby: an issue : when you have a controller into a folder, the hyperclick doesn’t work eg
Alloy.createController('book/passenger')`(edited)
Check other features also ..
[Enter steps to reproduce below:]
Atom Version: 1.5.4
System: Mac OS X 10.10.5
Thrown From: titanium-alloy package, v0.9.0
Uncaught TypeError: Cannot read property 'prefix' of undefined
At /Users/developer/.atom/packages/titanium-alloy/lib/viewProvider.coffee:118
TypeError: Cannot read property 'prefix' of undefined
at Object.module.exports.getTagNameCompletions (/Users/developer/.atom/packages/titanium-alloy/lib/viewProvider.coffee:118:27)
at Object.module.exports.getSuggestions (/Users/developer/.atom/packages/titanium-alloy/lib/viewProvider.coffee:39:22)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:290:56
at Array.forEach (native)
at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:269:17)
at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:256:19)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61
2x -8:52 core:backspace (atom-text-editor.editor.is-focused)
-8:41.7.0 core:save (atom-text-editor.editor.is-focused.autocomplete-active)
3x -7:18.8.0 core:undo (atom-text-editor.editor.is-focused)
-7:17.3.0 core:save (atom-text-editor.editor.is-focused)
-5:16.5.0 titanium:openView (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:08.4.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor.is-focused)
-0:08.4.0 editor:newline (atom-text-editor.editor.is-focused)
6x -0:05.3.0 core:backspace (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"related-split-view",
"terminal-plus"
],
"themes": [
"one-dark-ui",
"oceanic-next"
]
}
}
# User
atom-backbone, v0.6.1
atom-beautify, vundefined
atom-pair, v2.0.10
atom-ternjs, v0.13.2
autocomplete-modules, v1.4.1
autocomplete-paths, v1.0.2
build, v0.57.0
emmet, v2.4.2
highlight-selected, v0.11.2
hyperclick, v0.0.35
javascript-snippets, v1.2.1
linter, v1.11.3
linter-jshint, v2.0.3
linter-jsonlint, v1.2.1
livereload, v0.4.4
minimap, v4.21.0
oceanic-next, v0.1.2
project-manager, v2.7.6
release-notes, v0.53.0
sync-settings, v0.7.2
titanium-alloy, v0.9.0
titanium-build, v0.8.1
# Dev
No dev packages
Hi Yomy.
The last amazing feature you introduced is not working right on Windows. It offers always the full path to the image, instead the relative, e.g.:
C:\appc\EPOC\app\assets\images\start.png
instead
/images/start.png
Please let me know a missing properties for autocompletion.
ItemTemplete
: name
ItemTemplate
: bindId
ListItem
: template
,ListSection
: HeaderView
, FooterView
ListItem
: HeaderView
, FooterView
In some case, click provider should have multi callback from multi files.
For example,
controllername.tss
and app.tss
controllername.js
and alloy.js
Would be great to have some kind of way to automatically open or focus related files on other panes when one gets focus ... a little bit like Xcode.
Hello. I really want to use this package but there is an issue so that I can't
I'm getting an error message: Failed to spawn command alloy. Make sure alloy is installed and on your PATH
on Mac. I'm trying to do anything with the package but I keep getting error messages. And I can't uninstall it to reinstall again
[Enter steps to reproduce below:]
Atom Version: 1.4.3
System: Mac OS X 10.10.5
Thrown From: titanium-alloy package, v0.8.1
Uncaught TypeError: Cannot read property 'functions' of undefined
At /Users/developer/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:64
TypeError: Cannot read property 'functions' of undefined
at Object.module.exports.getSuggestions (/Users/developer/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:64:30)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:290:56
at Array.forEach (native)
at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:269:17)
at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:256:19)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61
-1:24.6.0 core:paste (atom-text-editor.editor.is-focused)
-1:21.2.0 core:backspace (atom-text-editor.editor.is-focused)
-1:16.9.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
5x -1:16.3.0 core:backspace (atom-text-editor.editor.is-focused)
-1:04.6.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-1:04.6.0 core:cancel (atom-text-editor.editor.is-focused)
3x -1:00.3.0 core:backspace (atom-text-editor.editor.is-focused)
-0:43.4.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:43.4.0 core:cancel (atom-text-editor.editor.is-focused)
-0:40 editor:newline (atom-text-editor.editor.is-focused)
6x -0:29.5.0 core:backspace (atom-text-editor.editor.is-focused)
-0:17 core:save (atom-text-editor.editor.is-focused)
-0:11 linter:next-error (atom-workspace.workspace.scrollbars-visible-always.theme-oceanic-next.theme-one-dark-ui)
-0:08.8.0 core:undo (atom-text-editor.editor.is-focused)
-0:05.4.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:05.4.0 core:cancel (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"related-split-view"
],
"themes": [
"one-dark-ui",
"oceanic-next"
]
}
}
# User
atom-backbone, v0.6.1
atom-beautify, v0.28.21
atom-pair, v2.0.10
atom-ternjs, v0.13.2
autocomplete-modules, v1.3.1
autocomplete-paths, v1.0.2
build, v0.54.1
emmet, v2.4.1
highlight-selected, v0.11.2
hyperclick, v0.0.35
javascript-snippets, v1.2.0
linter, v1.11.3
linter-jshint, v1.3.0
linter-jsonlint, v1.1.5
minimap, v4.19.0
oceanic-next, v0.1.2
project-manager, v2.7.6
release-notes, v0.53.0
sync-settings, v0.6.0
terminal-plus, v0.14.5
titanium-alloy, v0.8.1
titanium-build, v0.8.1
# Dev
No dev packages
hi,
could you add the crtl+alt+r shortcut too (similar to the old open-related package)? So it will open a split-vie with the other files?
davrosull/ti-alloy-related#3
TextEditor.prototype.displayBuffer
has always been private, but now
it is gone. Reading the displayBuffer
property now returns a reference
to the containing TextEditor
, which now provides some of the API of
the defunct DisplayBuffer
class.
TextEditor.get (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:101:14)
Object.getFileEditor (/Users/vsantana/.atom/packages/titanium-alloy/lib/ti-pkg-util.js:15:55)
findDefinition (/Users/vsantana/.atom/packages/titanium-alloy/lib/clickProvider.js:366:27)
<unknown> (/Users/vsantana/.atom/packages/titanium-alloy/lib/clickProvider.js:444:38)
Function._.each._.forEach (/Users/vsantana/.atom/packages/titanium-alloy/node_modules/underscore/underscore.js:153:9)
Object.getSuggestionForWord (/Users/vsantana/.atom/packages/titanium-alloy/lib/clickProvider.js:443:9)
With ALLOY.XML
we can't use cmd + /
to comment on .xml
files
How about this feature? Very helpful or not?
Hello everyone,
if i press:
'ctrl-alt-v' or
'ctrl-alt-s' or
'ctrl-alt-c' or
'ctrl-alt-a'
with no file opended an Error occurres
Thank you in advance
Jonah
Ti SDK introduced the full NodeJS require-spec. This also includes the recommendation to use /
for all require-prefixes, including Alloy controllers. So when I create a new controller using Alloy.createController('my/controller')
, it suggests the correct controller, great! But when using Alloy.createController('/my/controller')
, it doesn't detect my autocomplete flow. It would be great if it could!
P.S.: The hyperlinking already works!
I think this.
code for createContoller method, hyperclick to controller.js
example)
Alloy.createController('photoViewer',params);
in this case, link for 'photoViewer' to open 'controllers/photoViewer.js'
I removed the whole auto-error message :)
The problem: I don't have /assets/images/ in my project and when I start typing in an image/backgroundImage property I get this error message:
Uncaught Error: /app/app/assets/images does not exist.
At .atom/packages/titanium-alloy/node_modules/find/index.js:194
Problem starts in
https://github.com/yomybaby/atom-titanium/blob/master/lib/alloyCompletionRules.coffee#L63
Possible solution:
check for the /images/ folder first or start at /assets/
I love jade! So autocomplete and "go to definition" for Jade are coming!
Hi.
I'm not able to open related files on a Windows 7 machine with CTRL+ALT+A/S/C/V.
No errors in console and Keybinding resolver is showing the right binds, so no clues. I thought that could be because Atoms was in C: and files was in W: but trying both in C: still doesn't work.
If we have one or several themes in our Alloy app, it will be great if we can generate a tss file in folder theme.
Maybe you can hook the alloy command and add an option -theme :
alloy generate controller demo -theme
to add the tss file on the theme folder.
Right when starting Atom I get the following error message (it started after updating the package):
Failed to spawn command alloy. Make sure alloy is installed and on your PATH
I tried removing Atom completely (including all settings, packages) and downloaded everything again but still getting this.
When I open Atom it shows that error message and open chrom dev tools with the follwoing:
/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:262 Uncaught BufferedProcessError: Failed to spawn command alloy
. Make sure alloy
is installed and on your PATH
/Users/ophir/.atom/packages/titanium-alloy/node_modules/atom-package-dependencies/index.js:53 hyperclick is already installed.
/Users/ophir/.atom/packages/titanium-build/node_modules/atom-package-dependencies/index.js:53 build is already installed.
I tried the plugin today and found some issues that prevent me from using it as a Studio replacement:
Possibility to change/add controller auto complete to other key match(Alloy.createController
)... something like:
App.Navigation.open( "TRIGGER CONTROLLERS AUTO COMPLETE" )
Typing and completing images is awesome. It would be a great addition to add Alloy.CFG.*
(config.json) completion
http://docs.appcelerator.com/platform/latest/#!/api/Alloy-property-CFG
{
"global": { "key": "defaultValue", "anotherKey": 12345 },
"env:development": {},
"env:test": {},
"env:production": {},
"os:ios": { "key": "iosValue" },
"os:android": { "key": "androidValue" },
"dependencies": {}
}
Alloy.CFG.key;
Alloy.CFG.anotherKey;
[Enter steps to reproduce below:]
Atom Version: 1.7.4
System: Mac OS X 10.10.5
Thrown From: titanium-alloy package, v0.10.1
Uncaught TypeError: path.relative is not a function
At /Users/vsantana/.atom/packages/titanium-alloy/lib/related.coffee:27
TypeError: path.relative is not a function
at getRelatedFilePath (/Users/vsantana/.atom/packages/titanium-alloy/lib/related.coffee:27:20)
at Object.module.exports.openAllFiles (/Users/vsantana/.atom/packages/titanium-alloy/lib/related.coffee:68:24)
at atom-workspace.atom.commands.add.titanium:openAllRelatedFiles (/Users/vsantana/.atom/packages/titanium-alloy/lib/related.coffee:56:77)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
-1:46.6.0 vim-mode-plus:delete-right (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
-1:38.6.0 command-palette:toggle (atom-text-editor.editor.vim-mode-plus.is-focused.normal-mode)
-1:38.4.0 blur (atom-text-editor.editor.vim-mode-plus.is-focused.normal-mode)
-1:32.4.0 core:move-down (atom-text-editor.editor.mini.is-focused)
6x -1:27.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-1:10.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-1:10.6.0 blur (atom-text-editor.editor.mini.is-focused)
-1:10.6.0 titanium:openAllRelatedFiles (atom-text-editor.editor.vim-mode-plus.normal-mode)
3x -1:03.8.0 blur (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
-0:20.5.0 settings-view:show-keybindings (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
5x -0:19.9.0 blur (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
2x -0:16.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:08.7.0 blur (atom-text-editor.editor.mini.is-focused)
2x -0:06.5.0 core:cancel (table.native-key-bindings.table.text)
4x -0:04.3.0 blur (table.native-key-bindings.table.text)
-0:00.7.0 titanium:openAllRelatedFiles (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
{
"core": {
"disabledPackages": [
"titanium-build",
"multi-highlight-selected",
"tidy-markdown",
"ever-notedown",
"markdown-preview-plus"
]
},
"titanium-alloy": {
"defaultI18nLanguage": "pt"
}
}
# User
build, v0.63.0
build-make, v0.10.0
git-commit, v1.5.2
git-diff-details, v1.3.0
hyperclick, v0.0.36
indent-guide-improved, v1.4.8
jslint, v1.5.1
merge-conflicts, v1.4.2
minimap, v4.24.0
minimap-highlight-selected, v4.4.0
open-recent, v5.0.0
pigments, v0.26.3
titanium-alloy, v0.10.1
todo-show, v1.6.0
vim-mode-plus, v0.42.0
# Dev
No dev packages
Hey @yomybaby, awesome plugin!
I was running into this error while editing:
"ItemTemplate": {
selectionStyle: Ti.UI.iPhone.ListViewCellSelectionStyle.NONE,
canEdit: true,
editActions: [
{
title: 'All',
style: Ti.UI.iOS.ROW_ACTION_STYLE_NORMAL
}, {
title: '+ Thumbnail',
color: '#ccc'
}, {
title: 'Meta',
style: Ti.UI.iOS.ROW_ACTION_STYLE_NORMAL
}
]
}
Atom Version: 1.3.0
System: Mac OS X 10.11.2
Thrown From: titanium-alloy package, v0.6.9
Uncaught TypeError: Cannot read property 'type' of undefined
At /Users/fokkezb/.atom/packages/titanium-alloy/lib/styleProvider.coffee:220
TypeError: Cannot read property 'type' of undefined
at Object.module.exports.getPropertyValueCompletions (/Users/fokkezb/.atom/packages/titanium-alloy/lib/styleProvider.coffee:220:36)
at Object.module.exports.getSuggestions (/Users/fokkezb/.atom/packages/titanium-alloy/lib/styleProvider.coffee:32:22)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:286:56
at Array.forEach (native)
at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:265:17)
at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:252:19)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61
-1:04.6.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
-1:04.6.0 editor:newline (atom-text-editor.editor.is-focused)
-1:03.5.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
-1:03.5.0 editor:newline (atom-text-editor.editor.is-focused)
-1:02.5.0 docblockr:parse-enter (atom-text-editor.editor.is-focused)
-1:02.5.0 editor:newline (atom-text-editor.editor.is-focused)
-0:54.2.0 core:save (atom-text-editor.editor.is-focused)
3x -0:40.1.0 core:select-right (atom-text-editor.editor.is-focused)
6x -0:37.9.0 core:move-right (atom-text-editor.editor.is-focused)
-0:36.6.0 core:move-left (atom-text-editor.editor.is-focused)
2x -0:35.5.0 core:backspace (atom-text-editor.editor.is-focused)
-0:34.5.0 core:save (atom-text-editor.editor.is-focused)
-0:02.7.0 core:move-left (atom-text-editor.editor.is-focused)
5x -0:02.3.0 core:select-right (atom-text-editor.editor.is-focused)
2x -0:00.6.0 core:move-right (atom-text-editor.editor.is-focused)
-0:00.0 editor:select-to-end-of-line (atom-text-editor.editor.is-focused)
{
"core": {}
}
# User
atom-beautify, v0.28.19
docblockr, v0.7.3
hyperclick, v0.0.35
linter, v1.11.3
linter-jshint, v1.2.1
titanium-alloy, v0.6.9
# Dev
No dev packages
Would it be possible to scan the tss file for unused objects (not used in xml) and highlight them?
Hi @yomybaby, no idea who this started but I get it all the time now :(
Atom Version: 1.7.4
System: Mac OS X 10.11.5
Thrown From: titanium-alloy package, v0.10.1
Uncaught Error: /Users/fokkezb/dev/projects/ComeEmpty.Me/app/controllers does not exist.
At /Users/fokkezb/.atom/packages/titanium-alloy/node_modules/find/index.js:194
Error: /Users/fokkezb/dev/projects/ComeEmpty.Me/app/controllers does not exist.
at Object.error.notExist (/Users/fokkezb/.atom/packages/titanium-alloy/node_modules/find/index.js:68:12)
at traverseSync (/Users/fokkezb/.atom/packages/titanium-alloy/node_modules/find/index.js:194:38)
at Object.find.(anonymous function) [as fileSync] (/Users/fokkezb/.atom/packages/titanium-alloy/node_modules/find/index.js:336:5)
at Object.alloyCompletionRules.getCompletions (/Users/fokkezb/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:28:22)
at Object.module.exports.getSuggestions (/Users/fokkezb/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:138:27)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:310:56
at Array.forEach (native)
at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:289:17)
at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:276:19)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61
-0:32.7.0 core:paste (atom-text-editor.editor.is-focused)
3x -0:29.7.0 core:backspace (atom-text-editor.editor.is-focused)
-0:25.6.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
3x -0:25.3.0 core:backspace (atom-text-editor.editor.is-focused)
-0:20.1.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
-0:19.9.0 core:copy (atom-text-editor.editor.is-focused)
-0:16.7.0 core:select-up (atom-text-editor.editor.is-focused)
-0:16.2.0 core:paste (atom-text-editor.editor.is-focused)
-0:15.4.0 atom-beautify:beautify-editor (atom-text-editor.editor.is-focused)
-0:13.5.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
2x -0:13.2.0 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
2x -0:12.8.0 core:backspace (atom-text-editor.editor.is-focused)
-0:06.6.0 core:move-down (atom-text-editor.editor.is-focused)
-0:05.6.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
3x -0:01.8.0 core:move-left (atom-text-editor.editor.is-focused)
-0:01.2.0 editor:select-to-beginning-of-word (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"atom-ternjs"
]
},
"titanium-alloy": {
"numberOfSplitPane": 3
}
}
# User
atom-beautify, v0.29.7
docblockr, v0.7.3
hyperclick, v0.0.36
linter, v1.11.4
linter-jshint, v2.1.0
titanium-alloy, v0.10.1
# Dev
No dev packages
Recent @DouglasHennrich suggested this customizing feature. (#42 Thanks Douglas)
There are issue related with : https://discuss.atom.io/t/the-way-to-insert-next-line-n-into-config-string-type/29639
If anyone have an idea for this issue, please write comment on this issue.
On ti-slack, @DouglasHennrich said :
dhennrich [3:30 AM] Star this message
@yomybaby: got a problem with hyperlink… it keeps poiting tophotoView
instead of create a new style forphoto
<View id='photoView'> <View id='photo'/> </View> </Alloy>
[Enter steps to reproduce below:]
Every now and then as I start editing I run into these errors all the time. No idea why.
Atom Version: 1.5.3
System: Mac OS X 10.11.3
Thrown From: titanium-alloy package, v0.8.1
Uncaught TypeError: Cannot read property 'apiName' of undefined
At /Users/fokkezb/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:62
TypeError: Cannot read property 'apiName' of undefined
at Object.module.exports.getSuggestions (/Users/fokkezb/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:62:50)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:290:56
at Array.forEach (native)
at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:269:17)
at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:256:19)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61
14x -4:51.5.0 core:close (atom-text-editor.editor.is-focused)
3x -0:16 core:undo (atom-text-editor.editor.is-focused)
-0:14.5.0 core:select-all (atom-text-editor.editor.is-focused)
-0:13.6.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
-0:13.1.0 core:save (atom-text-editor.editor.is-focused)
-0:01.8.0 core:backspace (atom-text-editor.editor.is-focused)
-0:00.3.0 core:save (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"atom-ternjs"
]
}
}
# User
atom-beautify, v0.28.22
dash, v1.6.0
docblockr, v0.7.3
hyperclick, v0.0.35
linter, v1.11.3
linter-jshint, v1.3.1
titanium-alloy, v0.8.1
# Dev
No dev packages
What are the chances of supporting the sassy tss syntax?
https://github.com/RonaldTreur/STSS
This is not an issue report.
I just want to leave a note that I love this package. Keep up the good work. You rock!
Hey @yomybaby,
would be nice to generate new TSS styles with a space (new line) between the brackets:
Before:
"#myStyle": {
}
After:
"#myStyle": {
}
It's a really really minor change, so maybe you can check it in between other stuff you work on. Thanks man!
EDIT: Same for controller methods:
Before:
function doStuff(e) {
}
After:
function doStuff(e) {
}
.atom/packages/titanium-alloy/lib/viewProvider.coffee:344
Atom version 1.13.0 x64
Atom Version: 1.0.3
System: Mac OS X 10.10.4
Thrown From: titanium-alloy package, v0.3.3
Failed to load the titanium-alloy package
At ENOENT: no such file or directory, open '/usr/local/lib/node_modules/alloy/docs/api.jsca'
Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/alloy/docs/api.jsca'
at Error (native)
at Object.fs.openSync (fs.js:544:18)
at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20)
at Object.fs.readFileSync (fs.js:396:15)
at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:369:29)
at Object.<anonymous> (/Users/nickdenengelsman/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:6:23)
at Object.<anonymous> (/Users/nickdenengelsman/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:66:4)
at Module._compile (module.js:452:26)
at Object.requireCoffeeScript (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
at Module.load (module.js:347:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at Object.<anonymous> (/Users/nickdenengelsman/.atom/packages/titanium-alloy/lib/main.coffee:8:16)
at Object.<anonymous> (/Users/nickdenengelsman/.atom/packages/titanium-alloy/lib/main.coffee:21:4)
at Module._compile (module.js:452:26)
{
"core": {
"themes": [
"one-dark-ui",
"railscast-theme"
]
}
}
# User
Sublime-Style-Column-Selection, v1.3.0
build, v0.42.0
go-to-view, v0.3.0
linter, v1.2.4
linter-reek, v2.0.0
linter-rubocop, v0.2.7
linter-ruby, v0.1.6
railscast-theme, v0.3.0
ruby-block-converter, v3.5.0
titanium-alloy, v0.3.3
# Dev
No dev packages
Hey @yomybaby,
thanks for this great plugin again! Helps organizing a looot of files and projects every day 🚀
So I noticed that some of the autocompletion hints are a bit outdated. Examples
Ti.UI.iOS.NavigationWindow
won't be suggestedTi.UI.KEYBOARD_EMAIL
(deprecated) would be suggested, but Ti.UI.KEYBOARD_TYPE_EMAIL
(replacement) won'tTi.UI.iOS.PreviewContext
won't be suggested in any kindHans
EDIT: Looking at this line, it takes the API's from the Alloy-bundled jsca. So that one might be outdated. That's only the Alloy one, and the Titanium one should be up to date.
Would you be interested in porting the autocomplete functionality for JSX to make it work for react-titanium? I’d be extremely helped by it personally and I’d love to offer such a feature.
This is a suggestion.
File path typing is sooooooooo boring and annoying.
For example,
<Image>
: `"images/whatever.png"[Enter steps to reproduce below:]
Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: titanium-alloy package, v0.11.3
Uncaught TypeError: Cannot read property 'properties' of undefined
At /Users/luisperezgil/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:133
TypeError: Cannot read property 'properties' of undefined
at /Users/luisperezgil/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:133:51
at Function._.each._.forEach (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/jasmine-tagged/node_modules/jasmine-focused/node_modules/jasmine-node/node_modules/underscore/underscore.js:153:9)
at Object.alloyCompletionRules.getCompletions (/Users/luisperezgil/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:129:11)
at Object.module.exports.getSuggestions (/Users/luisperezgil/.atom/packages/titanium-alloy/lib/controllerProvider.coffee:204:27)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:310:56
at Array.forEach (native)
at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:289:17)
at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:276:19)
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61
4x -0:43.4.0 core:close (atom-text-editor.editor.is-focused)
-0:08.7.0 editor:newline (atom-text-editor.editor.is-focused)
-0:04.1.0 core:copy (atom-text-editor.editor.is-focused)
-0:03.1.0 core:paste (atom-text-editor.editor.is-focused)
-0:02.1.0 core:move-left (atom-text-editor.editor.is-focused)
-0:01.9.0 editor:select-to-beginning-of-word (atom-text-editor.editor.is-focused)
{
"core": {
"themes": [
"atom-material-ui",
"atom-dark-syntax"
]
}
}
# User
Remote-FTP, v0.8.3
atom-icons, v0.2.2
atom-material-ui, v1.2.13
build, v0.64.0
busy, v0.5.0
highlight-selected, v0.11.2
hyperclick, v0.0.36
pretty-json, v1.4.1
titanium-alloy, v0.11.3
titanium-build, v0.8.1
# Dev
No dev packages
Autocomplete is not working as your gif
shows...
I try to start to type <Button
then press tab
and nothing happens =/
the syntax are marked as ALLOY.XML
v0.6.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.