question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stuck on Initializing ActionScript & MXML language server...

See original GitHub issue

Hello,

I would like to use Code Intelligence but I’m stuck with: image

I didn’t specify target-player in asconfig because it’s above 10.1 in the sdk. Nothings appears wrong too: image

Compilation works fine.

Here is the asconfig.json:

{
	"config": "flex",
	"compilerOptions": {
		"output": "bin-debug/index.swf",
		"source-path": [
			"src",
			"bein-as3-core/src"
		],
		"library-path": [
			"libs",
			"${flexlib}/libs/mobile/mobilecomponents.swc",
			"bein-as3-core/libs"
		]
	},
	"files": [
		"src/index.mxml"
	],
	"copySourcePathAssets": true,
	"htmlTemplate": "html-template",
	"additionalOptions": "-incremental=true -locale=en_US,fr_FR -source-path=locale/{locale} -swf-version=18 -define+=CONFIG::debugging,true -define+=CONFIG::release,false -define+=NAMES::version,\"[developer]\" -define+=NAMES::domain,\"domain.dev\" -define+=NAMES::urlWs,\"https://domain.dev:5000/\" -define+=NAMES::urlWsData,\"https://domain.dev:5000/\" -define+=NAMES::authoringAssetsUrl,\"https://domain.dev:5000/1.1.1/\""
}

Do you have any ideas to resolve this? or maybe debug?

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
joshtynjalacommented, Jun 2, 2020

I’m going to expose an as3mxml.languageServer.jvmargs setting in the next update. That should allow you to try increasing the JVM memory. If all goes well, I’ll release by the end of the week.

0reactions
karisNcommented, Jun 8, 2020

Unfortunately it’s still stuck even after pushing Mxm to 4096 for a larger project. Thanks though!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Errors occurred in initializing language server - Stack Overflow
Try to copy the code project to another directory and reopen it. This should solve the problem.
Read more >
Using Adobe FLEX 4.6
You use two languages to write applications in Flex: MXML and ActionScript. MXML is an XML markup language that you use to lay...
Read more >
Beginners Guide to Getting Started with AS3 - senocular.com
mxmlc.exe is a launcher that runs the MXML and ActionScript 3 compiler that converts MXML files (.mxml) and ActionScript 3 files (.as) into...
Read more >
ActionScript Developer's Guide to PureMVC [Book] - O'Reilly
Since ActionScript is much like any other OOP language in use these days, ... the goal for the AS3 implementation of PureMVC was...
Read more >
The Starling Manual
The ActionScript & MXML extension is being developed by Josh Tynjala, ... maxSize , but only after Starling has finished initializing.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found