CodeLobster IDE – Free Code Editor for PHP, JavaScript, HTML and CSS


New projects always bring a unique experience to WEB developers as it is rare when you have to constantly solve routine tasks. Developers have to improvise and find non-standard solutions, constantly learning and mastering new technologies. One such development environment that is growing very dynamically and includes support for the most modern frameworks is CodeLobster … Read more

KVO on Swift’s computed properties

Is KVO on a computed property possible in Swift? var width = 0 var height = 0 private var area : Double { get { return with * height } } self.addOberser(self, forKeyPath: “area”, …… Would a client code modifying the with or height trigger observeValueForKeyPath? Just checking before engaging on a mayor class refactor. … Read more

Babel error: Class constructor Foo cannot be invoked without ‘new’

I am using babel to transpile. I have class BaseComponent which is extended by class Logger. When I run new Logger() in the browser, I am getting this error Class constructor BaseComponent cannot be invoked without ‘new’ the code that throws this is: var Logger = function (_BaseComponent) { _inherits(Logger, _BaseComponent); function Logger() { _classCallCheck(this, … Read more

Dependency convergence error

After updating Firefox I changed versions of libraries to higher ones. Following errors appeard: [ERROR] Dependency convergence error for commons-collections:commons-collections:3.2.2 paths to dependency are: [ERROR] +-net:serenity.pom.gradle:0.0.1-SNAPSHOT [ERROR] +-net.serenity-bdd:serenity-core:1.1.29-rc.3 [ERROR] +-org.seleniumhq.selenium:htmlunit-driver:2.20 [ERROR] +-commons-collections:commons-collections:3.2.2 [ERROR] and [ERROR] +-net:serenity.pom.gradle:0.0.1-SNAPSHOT [ERROR] +-net.serenity-bdd:serenity-core:1.1.29-rc.3 [ERROR] +-io.appium:java-client:3.3.0 [ERROR] +-commons-validator:commons-validator:1.4.1 [ERROR] +-commons-collections:commons-collections:3.2.1 [ERROR] and [ERROR] +-net:serenity.pom.gradle:0.0.1-SNAPSHOT [ERROR] +-net.serenity-bdd:serenity-core:1.1.29-rc.3 [ERROR] +-commons-collections:commons-collections:3.2.2 [ERROR] ] [ERROR] … Read more

Is it possible to have a global launch.json file?

I am using Don Jayamanne’s Python extension and it is working well. The only issue I have is for every project I work on, I have to copy the \.vscode\launch.json file. I was wondering if there is a way to place that file somewhere globally so the settings are applied to all my projects. Something … Read more

Return first item of vector

I’m trying to write a shorthand function that returns the first element of a vector: pub fn first() -> Option<&T> { let v = Vec::new(); v.first() } Which of course fails with: error: missing lifetime specifier [E0106] Is there any way to make this work? Answer Not in its current state.. no. Basically, when first() … Read more

How do I supply an implicit value for an when sending a FakeRequest?

I’m trying to make sense of the error(s) I’m seeing below, and to learn how to fix it. could not find implicit value for parameter materializer: akka.Stream.Materializer val fut: Future[Result] = action.apply(fakeRequest).run ^ not enough arguments for method run (implicit materializer:[play.api.mvc.Result]. Unspecified value parameter materializer. val fut: Future[Result] = action.apply(fakeRequest).run ^ Here is the … Read more

sudo pip install setuptools –upgrade error

I am doing pip install setuptools –upgrade but getting error below Installing collected packages: setuptools Found existing installation: setuptools 1.1.6 Uninstalling setuptools-1.1.6: Exception: Traceback (most recent call last): File “/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/”, line 209, in main status =, args) File “/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/commands/”, line 317, in run prefix=options.prefix_path, File “/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/”, line 726, in install requirement.uninstall(auto_confirm=True) File “/Library/Python/2.7/site-packages/pip-8.1.1-py2.7.egg/pip/req/”, line … Read more