As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm new to Sencha touch 2. Is there any Sencha touch IDE(free one)? Basically what I want is when I write something like .. new Ext and just give space+cntrl so there should be list of all the methods and properties of it.
OR
is there any way through which I can add sencha touch javascript libraries in eclipse ? Like we do with Komodo Editor. In komodo Editor you just need to add the javascript library and it will automatically fetch all the functions,methods,and properties that resides in that library file.
Thanks in Advance :)
Before we start please download the following files:
sencha-touch-2.0.0-gpl.zip or sencha-touch-2.0.0-commercial.zip
SenchaSDKTools-2.0.0-beta3
Aptana Studio 3
Extract sencha-touch-2.0.0-(gpl.zip/commercial.zip) to a place of
your liking (Note it will stay there for a long time)
SenchaSDKTools-2.0.0-beta3 and/or install it
open up the terminal or command prompt
cd into the folder of Sencha Touch SDK
(sencha-touch-2.0.0-(gpl/commercial)
write: sencha generate app APP_NAME APP_PATH
hit enter (return)
extract/install Aptana studio
Open up Aptana studio
Click the help menu
Choose Install New Software
A window will open click Add
Name it Spket IDE then enter the url http://www.agpad.com/update
Press OK
Choose everything then click Next
Click next
Read the license ( like everyone does, NOT!), and then accept if
you want, then press next
Wait for the install to complete (Restart if required)
Go to Preferences
Navigate to Spket then JavaScript Profiles
Click Add
Type Sencha
Press Ok
Highlight Sencha
Click Add Library, Select ExtJs
Highlight ExtJs then click Add file
Choose touch.jsb3 from the folder you extracted the Sencha Touch
SDK 2.0.0 in
Select all items in the tree
Highlight Sencha then click default
Press ok
File > New > Other > General > Project
uncheck the box that says to use the default location
Browse to the project you created earlier
Type the name of the project (preferably exactly the same name as
it’s folder)
Press finish
expand the view folder and open the Main.js
type Ext. if the auto complete doesn’t pop up type crtl + space
I have created a detailed tutorial with pictures for this specific reason, Please let me know what do you think and how it worked out :)
I use Netbeans (http://netbeans.org) it's free, but doesn't have the methods you want to auto complete & use, the best for that I found to be Aptana studio (http:www.aptana.com) but that is paid.
For netbeans you can modify the IDE so it does auto complete based on the libraries in Sencha :-
a) Right click on the SenchaApp application and select Properties from the drop down menu
b) Under the Libraries menu, choose “Add Libraries” and from the window that opens click “Create…”
c) Name the Library “Sencha_Touch” and choose “Class Library” from the drop down.
d) Under the “Classpath” tab, click on “Add JAR/Folder” and select the “touch” folder previously downloaded.
e) Click “OK” and choose the newly created “Sencha_Touch” library.
To check if you’ve added code completion correctly, create an app.js file in the app folder. Type Ext followed by a “.” — If the steps above were followed correctly, the code completion should work.
Or move over at http://techtalktone.wordpress.com/2012/02/22/using-netbeans-ide-with-sencha-touch/
TextMate with bundles from Ed Spencer: http://edspencer.net/tag/textmate
Sublime Text 2, I think you can use same bundles as for TextMate, not sure!
JetBrainsWebStorm3 is used by many
Aptana (eclipse based), there is a plugin for Sencha, but not touch I think.
But I think you might enjoy Sencha Designer 2: http://www.sencha.com/blog/sencha-designer-2-beta-announcement/
As Nag said: make use of the API's.
Cheers.
Check out Pocket Dev
http://www.pocketdev.co/blog/sencha
It's pretty basic but works well
Try Sublime Text 2. It is the best i came across.
You can download it from this link by selecting your OS: http://www.sublimetext.com/2
Aptana Studio 3 is the best for Sencha 1.1 or Sencha 2.
Have you tried sencha architect???
http://www.sencha.com/products/architect
+1 on JetBrains WebStorm 3 .. it has built in helpers/popups that know the Sencha language. And the way it auto-formats for you (when pressing return or pasting in code) is very intuitive to JS and helpful for the user. Just my to pennies.
Related
My question consist of 2 parts:
After update to 2019 version of IntelliJ Scroll to Source option from project panel is missing, after some web search I'm unable to find it. Is it missing? Default?
I'd like to set "scroll to source" so that whenever I'm opening tab it's highlighted in project, but exclude redirect to external libraries like java's or node_modules (they tend to be several classes long and make scrolling time-consuming). Excluding those libraries from project would be kind of a way perhaps?
The actions have been renamed improve an user experience for those who move from other IDEs: Autoscroll to Source -> Open Files with Single Click, Autoscroll from Source -> Always Select Opened File; see IDEA-217044.
Note that Scroll from Source button (currently called Select Opened File) is only available if Always Select Opened FIle is disabled.
There is no way to disable auto-scrolling to libraries; please vote for IDEA-200580 to be notified on any progress with this feature request.
I like to take notes as I learn new concepts and when learning something, say android which involves XML and JAVA syntax and even some SQL, when I copy paste it onto a single file I want each snippet to be highlighted in a way that makes sense for that particular language...and the rest of the text remain plain much like SO itself where I can mark only the code as code....I searched online and no application meets these requirements and finally I stumbled across a sublime Text Plugin ...thing is I don't understand how to install it even after reading the instructions please guide me or if you know any other application that meets these requirements please let me know .
Thanks!
link to the plugin
The plugin that you have linked to, "Notes", is a Sublime Text 3 plugin. It will not work on Sublime Text 2 (afaik).
Uninstall ST2 and install ST3 and then install Package Control and then install Notes. It should install without any issue.
I'm currently using Sublime Text 3 and am able to install the plugin without any issues.
You need to install it via Package control by pressing: cmd + shift + P. Then navigate to "install package". Once you begin typing in the package name (Notes in this example) will autocomplete then hit enter once its highlighted in the dropdown. Once installed read the Package Control Message that pops up in a new tab with instructions. These usually have key messages/directions for install or setup.
Kahlil was right when he said its not only compatible for ST2. So if it doesn't appear when you run package control thats why
Please excuse the noobness that is probably about to follow...
I'm making an vb.net 2010 app which needs to have a calendar system in which the user can add appointments and events etc.
I've downloaded the source for a control which looks promising (http://www.codeproject.com/Articles/10840/Another-Month-Calendar) but I have no idea how to add this in to my project. I've googled for help on adding the control but have had no luck.
If I right click on my toolbox, go 'choose items...' and try and add it there, it tells me it couldnt be opened.
Any help is appreciated!
Well you've downloaded the source code.
Place the source code in a specific location on your pc and then compile it 9If your planning to use this control in your own project then compile it in release mode. Assuming that there are no compile errors close visual studio and then open up the project of your own that you want to use this control in.
Right click on the general tab in the toolbox and click choose items. Using the bowse button in the choose items dialog navigate to the folder in which you placed the source code for the control you want to use.
Now locate the 'Bin' folder and in that locate the 'release' folder. Inside that you will see a dll (named presumably something like MothCalendar.dll. Select that dll and then click add and OK (Button sequence will vary according to vs version). The control should then appear in your toolbox under the general tab and you should then be able to drag it onto your forms for use in your project.
First, I have xcode 3.4.3 installed on my hackintosh(10.6.5). When I started using xcode , I follow apple's steps from "Your First Mac App" tutorial. When I walked through creating actions for controls, it ask me to use the assistant editor to create connections between control and logic code, but I can't find anything called assistant editor is this because I am using xcode 3.4.3?
Could somebody please tell me some alternatives.
//edit: The assistant editor seems only present at xcode 4 and higher, so the tutorial you are using is newer than you current xcode version. Thanks #popeye for the hint.
The alternative is simply add the connections by yourself. You have to add the outlets in the interface-file (h-file) and the implemenations in the implementation-file (m-file).
There is a good tutorial video fromon how to achieve this:
Xcode 3 Recipes - Connecting an Outlet
Old Post:
The mentioned "assistant editor" is just a neat way to connect your outlets with your code. It connects the GUI with the code. For example if you have a button on your screen and you want to register a touch event on that than you can simply use the assistent editor to do that.
It is on the upper right corner of xcode. See the screenshot:
It shows you a split view with the code on one side and the Storyboard on the other. If you have that view open you can simply hold the control-key and drag a connection from the gui element to the code.
From the apple website: Assistant (): presents a separate editor pane with content logically related to that in the standard editor pane. Use the split controls in the Assistant pane to split the pane. Use View > Assistant Layout to set your preferred assistant pane and split configuration.
Apple iOS Developer Library - xCode Basics
I think you might be out of luck. I do not remember having an assistant editor in XCode 3, not like the version in XCode 4 anyway. Apple tends to keep it docs relevant to the newest release. The link provided by #palme is only relevant for XCode 4.
You might have be resigned to opening multiple windows to compare header and implementation files. In XCode 3, you will have to get used to mutiple windows at times, even seperate applciations (i.e. Interface Builder is completely seperate application from XCode 3).
I need to install ParseKit to compile with cocoa under Mac Os X, I use xcode 4.
I have searched online but there is only a guide for installing parse kit for iPhone.
Where do I find the download for Mac Os X and/or a guide?
Developer of ParseKit here.
OK, after working through a tricky issue in Xcode 4, I have figured out my preferred way to do this: Create a new Workspace ("MySuite") which contains two sub-Projects
Your Mac Cocoa Application Project ("MyApp")
The ParseKit Framework Project ("ParseKit")
You can choose different names than "MyApp" and "MySuite" of course.
There's a few different ways to make this happen. Here's one way:
First, make sure you update to the very latest version of the ParseKit from the Google Code trunk. I have recently modernized the Xcode project for Xcode 4.3.1.
svn checkout http://parsekit.googlecode.com/svn/trunk/ parsekit-trunk
Make sure you do not have the ParseKit Xcode Project window open. This is an issue in Xcode up to version 4.3.1 (and maybe later, not sure).
Create a Mac "Cocoa Application" Project named "MyApp". File > New > Project…. (You may have already created your app. That's fine. Then skip this step.)
Drag the ParseKit.xcodeproj file from the Finder to the very top of the Project Navigator in the "MyApp" Xcode Project window. NOTE: make sure you drop the file at the very top of the Project Navigator tree. Otherwise it will not work.
Xcode will present a dialog: "Do you want to save this project in a new workspace?" Click "Save" and name the Workspace something like "MySuite".
Select the "MyApp" Project in the Project Navigtor.
Select the "MyApp" Target in the "Targets" list.
Select the "Build Phases" tab.
Click the disclosure triangle next to "Target Dependencies" to open the list.
Click the "+" button at the bottom of the list.
Select "ParseKit.framework" from the resulting dialog and click "Add" to add ParseKit as a dependency of your target. This ensures ParseKit is built before your target.
Click the disclosure triangle next to "Link Binary With Libraries" to open the list.
Click the "+" button at the bottom of the list.
Select "ParseKit.framework" from the resulting dialog and click "Add".
Click the disclosure triangle next to "Link Binary With Libraries" to open the list.
Click the "+" button at the bottom of the list.
Select "ParseKit.framework" from the resulting dialog and click "Add".
See "ParseKit.framework" in the "Link Binary With Libraries" list.
Click the "Add Build Phase" Button, choose "Copy Files" in the popup.
In the new "Copy Files" build phase, select "Frameworks" in the "Destination" popup.
Drag "ParseKit.framework" from the Project Navigator to the list in the new "Copy Files" build phase.
In MyAppDelegate.m, import the ParseKit header:
#import <ParseKit/ParseKit.h>
In -[MyAppDelegate applicationDidFinishLaunching:] do:NSString *g = #"#start = Word+;";
PKParser *p = [[PKParserFactory factory] parserFromGrammar:g assembler:self error:nil];
NSError *err = nil;
id result = [p parse:#"foo bar baz" error:&err];
NSLog(#"%#", result);
Build and run.
For more info on this topic, see:
Apple's docs
Chapter 16 of Mastering Xcode 4 by Joshua Nozzi
Open your project in Xcode 4
Make sure Project Navigator is shown
Ctrl click on your project file (the blue page icon)
Select Add Files to "YourProjectName"
Select ParseKit.xcodeproj
In Project Navigator select your project file
Go to Build Phases
Disclose Link Binary With Libraries and either add ParseKit.framework by clicking + or drag'n'drop it from Project Navigator's Products directory of ParseKit.framework
Add Copy File phase by clicking bottom right Add Build Phase button.
Set destination to frameworks
Repeat 8, but for new build phase
You may also need to add Target Dependency: repeat step 8, but for this phase. But looks like Xcode can sort out them itself.
I also recommend you to create a Workspace, it makes managing of subproject much easier and looks like this fixes most part of potential problems, because if Xcode fails to resolve dependencies, you can always add script to copy files manually, since products of projects will share the same build directory.
I managed to do this using cocoapods. Try that if your stuck still
Developer of ParseKit here.
I'm sorry I don't have a good answer for you. I have some outdated docs on how to use ParseKit in your iOS application using Xcode 3.
However, I've just tried to go through the process of embedding ParseKit.framework within a Mac OS X app using Xcode 4, and I honestly could not figure out how to do it in Xcode 4. I am baffled.
What I can say, is that embedding ParseKit.framework in your Mac app should not be very different from embedding any other framework in your Mac app. There's nothing particularly special or unusual about ParseKit in this regard. The problem is I just can't figure out how to do that at all in Xcode 4.
Here's Apple's documentation on how to do this:
Embedding a Private Framework in Your Application Bundle > Using Separate Xcode Projects For Each Target
Unfortunately, Apple's docs are also out of date, and also describe the process in Xcode 3.
I have asked a question here on Stack Overflow to try to solve this problem.