fdorg / flashdevelop Goto Github PK
View Code? Open in Web Editor NEWFlashDevelop is a free and open source code editor.
License: MIT License
FlashDevelop is a free and open source code editor.
License: MIT License
I can hide folder in the project tree (right click>hide).
Still, these hidden folders appear in results when Searching in Files, explicitly specifying "search in Project".
Quite an unexpected behavior :)
#if some
#else
#end
Folding collapse by if-end
only.
But often this parts is much big and folding whole block do not have any sense.
Hi!
Here are 2 suggestions for the FD interface:
1- Color code preview : https://dl.dropboxusercontent.com/u/4952054/flashDev/colorPreview.png
The principle is simple (in theory): display a small preview near any detected color code in source code (like 0xRRGGBB, or #RRGGBB)
2- an alternative to the region system which is not really ergonomic:
https://dl.dropboxusercontent.com/u/4952054/flashDev/outlinePanel.png
The system detects specific comment patterns in the code and shows them as separator in the Outline panel.
Thanks!
Note: these are suggestions I initially posted in the Cactus IDE comments.
I tried installing the CI build and unchecking the option to install the Flex SDK (I left the two air SDK options checked). After the install, the flexsdk directory is still created under tools and contains over 500 MB. Additionally, I got two pop ups on starting FlashDevelop. One, regarding a JS error about an improper URL in the welcome page and another, about an SDK descriptor not being found, specifically \Tools\flexsdk\air-sdk-description.xml. Why is this even being looked for if I unchecked the Flex SDK option?
step1 - http://service.crazypanda.ru/v/clip2net/E/F/0VVdpggkrp.jpg
step2 NO - http://service.crazypanda.ru/v/clip2net/H/j/ygksZGJhFS.png
result - http://service.crazypanda.ru/v/clip2net/q/J/Oa5bod6YDJ.png
repeat step1-2(YES)
result - http://service.crazypanda.ru/v/clip2net/l/L/nQo4dQMSsy.png
step1 - http://service.crazypanda.ru/v/clip2net/T/b/NUpVNljuo0.png
result (after YES) - http://service.crazypanda.ru/v/clip2net/f/O/4iwl2mzrhJ.png
step1 - http://service.crazypanda.ru/v/clip2net/D/t/573ed6bYFJ.png
result after lost focus - http://service.crazypanda.ru/v/clip2net/A/D/OLnhV4nnkH.png
When I declare a Vector variable and trying to initate it, the hint when I type new directs me to adobe.utils.CustomActions, when it should hint to Vector.
Similar forum post here: http://www.flashdevelop.org/community/viewtopic.php?f=6&t=11386
OS: Win7 x64
FD: 4.5.2.5
Project: AS3 Project
Example: Lambda
functions, like Lambda.indexOf<T>
.
In config 'path-element' with absolute path, and it would be the relative path.
The new "reference" system is awesome to work with but alas, since we have a large code base with many references, it is hard to exploit.
Can you add some sort of 'hide' behaviour just like the rest of the code tree ?
Thanks !
1- We should add Shorcut customisation for RightClick>CodeGenerator>generate public function ( this is the more frequent case for me at least )
2- generate public should be hightlighted first
3- would be cool if the code refactor sub menu would be inlined with the right click menu, two click is an eternity sometime :D
4- RightClick>CodeGenerator>extractMethod should propose the selected text as function method name instead of newMethod
macroses for munit:
init(can't be captured because need user input):
~~cd root~~ RunProcess|$(BaseDir)/tools/munit/munit.bat;config
run all tests:
~~cd root~~ RunProcessCaptured|$(BaseDir)/tools/munit/munit.bat;test -browser flashdevelop
add testCase:
~~cd root~~ RunProcessCaptured|$(BaseDir)/tools/munit/munit.bat;create -for $(TypPkgName)
run TestCase:
~~cd root~~ RunProcessCaptured|$(BaseDir)/tools/munit/munit.bat;gen -filter $(TypPkgName) RunProcessCaptured|$(BaseDir)/tools/munit/munit.bat;test -browser flashdevelop
How I can find project root?
I can't to generate one TestCase without it. And I need to open some file in root manually for launch tests.
If you have a function without a return type, and you override it in a subclass, FlashDevelop provides a return type 'Dynamic'. This could cause compile errors. I think FlashDevelop shouldnt provide any return type in this override function.
As seen over here:
aduros/flambe#185
I can setup munit launch with "run custom command" in project settings, but results is always opening in default system browser.
Can I set it up for using FD browser?
If you are using the ASCSDK as your default SDK (which is waht FD will try to use to debug) then FDB will not launch and you will not be able to capture trace output.
Swc libs I needed there is not in project-tree in fd. So I can't add swcs with right-click.
My case is:
I want some more useful for this case :)
Mb list of libs dependencies in project settings with add-browse-button.
Subj.
FD not remember its position.
Macros config saves in dll settings for now.
Can I to save it in simple text files and pack to *.fdz?
Would be lovely to be able to reveal a file folder in the explorer whence right clicking on file name tab during edition.
Because you often have to look up for a connex module and often don't really have the folder opened !
Thanks !
Could you please add an "export to csv" in SWF Profiler?
Thanks
In Haxe, typedefs can be written without the var
keyword.
Example:
typedef Command = {
aliases:Array<String>,
processFunction:Dynamic
}
as opposed to:
typedef Command = {
var aliases:Array<String>;
var processFunction:Dynamic;
}
In the output panel, this looks like this:
The type param String
is shown twice. Using the "regular syntax" with var
and ;
seems to work just fine.
Btw, it would be helpful to have different labels to categorize issues better, like one for Haxe-related issues.
FD should use the SDK specified in the PRoject settings, not the default application wide SDK
Would be awesome if :
' This is a
would highlight the interpolated part with a brightened color :)
Thanks !
Example:
import flixel.util.FlxRandom;
import flixel.util.FlxRect;
#if !FLX_NO_TOUCH
import flixel.system.input.touch.FlxTouchManager;
#end
turns into
import flixel.system.input.touch.FlxTouchManager;
import flixel.util.FlxRandom;
import flixel.util.FlxRect;
#if !FLX_NO_TOUCH
#end
Dunno how much it would be hard, but i love this feature in eclipse, you can kilo(meter)code and you just fix what is red without CTRL-S F8, it seems little gain but it does streamline coding very much ( i lost the build habit during my eclipse years and was pleased with it :D)
Thx !
I'm not sure but I think will be useful to have two levels abstraction by ctrl-B
.
Category
then concrete snippet
.
Simple list is not much useful If list of snippets is too long.
When i create a shallow project, with a shallow fdev, competion is fine (even when CTRL-ENTER).
But when i witch to completion server, the system goes mad :)
For example:
I type : ''va'''
and completion proposes :
'''EnumValue
ValueType
var'''
with ValueType Highlighted.
which is frankly just unusable at this stage.
I suspect many things includng our own classes but, how can we manage this one...
Haxe supports multiline strings, but flashdevelop highlight doesn't seem to detect them
Ability to export-import settings.
When I run munit inside FD I should relaunch FD many times.
FD browser remember data from last session and not update it.
I think it happens because connection not closes after closing the browser tab.
I saw templates and syntax coloring for python lang.
Is there some python support or just coloring?
I cant't to google it :(
This would be a very useful feature. It could be a small icon similar to the lock for private
fields.
Not sure what the icon itself should look like... Maybe something like this, indicating that the code is "moved" somehwere else / "inlined"?
I think it would be good to see the roadmap right here for everyone.
Hi,
Two small things that could really help tracking dev builds:
I'm finding all kinds of bugs but i'm afraid they have already been fixed.. I got no idea which dev build i'm using at the moment.
Thanks,
Cameron
It would be very helpful if FD greyed out all code sections that are not compiled according to the current knowledge about the set conditionals, similar to what Visual Studio does:
I think this greatly aids readability. The easiest conditionals to determine are probably the ones for debug
/ release
mode and the target conditionals, since both of those things are set in the FD UI via dropdown boxes.
Finding out which conditionals are set in the Project.xml
would probably require FD to parse the file. Additionally, there can be conditionals set in include.xml
files of embedded haxelibs.
Hi,
I use a lot the compiler option "-D", for example to enable my dev tools in a game, or enable specific traces (network commands, AI stuff...).
Right now, it's not really easy to enable a given flag or disable it. You have to go in project settings, last tab, double click the compiler options, select+delete it, or re-type it.
A great feature would be able to create all the "-D" flags for a given project, and have a panel to check/uncheck them when needed. They are added to the compiler options on-the-fly, based on which one are checked.
If it's not clear enough, I can build a quick mockup ;)
some.
(with dot)If I have .as file with a class with defined [Event] metadata code hinting works great.
Unfortunately the code model built from .swc file doesn't include metadata, so event hinting fails.
Hi,
Working with fdev is a pleasure but when it comes to multiple haxe installs, it is a nightmare ( the active defined sdk is sometime...not so well active ).
In order to solve this, i often have to hardwire haxe in the curtom SDK.
Except, i also have to juggle between haxe version and branches since i sometime build and patch my haxe version for MT.
Can you please autorize %HAXEPATH% in the custom sdk text box so that all haxe related path defaults to this variable. this would really ease my daily work and of all people having multiple haxe bases (all MT in fact...).
Thanks !
package;
import flixel.util.FlxMath;
import flixel.util.FlxArrayUtil;
class test1 { }
class test2
{
function test():Void
{
FlxMath.getDecimals(2.5);
}
}
turns into:
package;
class test1 { }
class test2
{
function test():Void
{
FlxMath.getDecimals(2.5);
}
}
Would be awesome if in the "top folder" textarea :
1- autorize /..
2- have a better folder selector
3- have a folder selector rooted to current dir
4- have the feature more robust because whenever something input does not please the system, it prints an exception and then stop working...
Thanks
xoxo
Would be good if Flashdevelop had a plugins manager equal or better than notepad++
The idea is pretty simple: add a visual way to distinguish static fields from instance fields in the Outline panel.
Opt 1: a different color code
Opt 2: a (very) distinctive icon
Opt 3: a different style, like italic
Thanks!
UI improvement suggestion :
It would be nice to have more various icons in the code outline window :
i.e currently, there is no way to make the difference between a static function and a member function.
( in the project i'm working right now, I had to rename my static functions in upper case in order to identify them quickly in the code outline window.)
eclipse (sorry to mention it again) has a very rich set of icon which makes the identification of static items, private items, interfaces, classes ...etc very easy
http://www.eclipse.org/modeling/emft/mint/images/emf-jdt-outline.png
On fdev FDEV#24 if i build and run an hxcpp or android executable and then press F5 again, the processes stalls with message "A process is currently running". then the debug and target box grey out and i can't debug anymore.
This is very painful !
Please fix <3 !
Generally for now debugging applications which are using Workers isn't possible.
I described my experience with the subject here:
http://www.flashdevelop.org/community/viewtopic.php?f=6&t=11039&p=49472#p49472
Hope this will be helpful and maybe it will be possible to add this feature.
(By the way: good job with developing FlashDevelop :) )
Now that FlexJS is approaching a "near-alpha" state and the technologies it would be great to have support for this new promising technology in Flash Develop. It would bring faster technology development and adoption and fresh air to the myriad of javascript frameworks and technologies that doesn't rely in a robust technology based on a OOP language (AS3) + declarative language (MXML), a compiler, and so on...
Some requirements are shared here that would make the basic set of tools to make an initial and basic roundtrip that allows a developer to create a project, compile it with a FlexJS sdk, and get the output to show in a browser. As well basic language intellisense based on Flex/AS3 already in Flash Develop functionality:
Support add a FlexJS SDK to make it available to the IDE
Support to create a FlexJS boilerplate project.
Some things should be shared with actual Flex plugin (AS3, MXML development), but maybe some revisión should be done to allow new namespaces in FlexJS, and other things that could be tied in actual implementation
Run FlexJS: Support new target to build different outputs: SWF, JS (HTML), JS(HTML5), JS (JQuery)...
There is a master ticket created at Apache Flex's bug tracker here: https://issues.apache.org/jira/browse/FLEX-33937
More detailed info about FlexJS is available here: https://cwiki.apache.org/confluence/display/FLEX/FlexJS
We now have a nightly build of FlexJS that creates the source and binary kits in various formats.
They are available here: https://builds.apache.org/job/flex-asjs/lastSuccessfulBuild/artifact/out/
The ApacheFlexJS.tar.gz and ApacheFlexJS.zip files should contain what you are looking for in terms of a drop in deployment.
Hi,
Let's say I have the following line at the top of a HX file:
import libs.ui.*;
The libs.ui folder contains Button class and Group class.
In FD, these classes are not properly highlighted and the top level completion never suggest them as expected. You have to manually import each class:
import libs.ui.Button;
import libs.ui.Group;
Thank you :)
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.