ide

Problems with running Python 32 in Sublime Text 2

随声附和 提交于 2019-12-24 21:58:09
问题 I know that there are lots of questions about running Python in Sublime Text 2, but i have a problem. I've changed "Python.sublime-build" file in AppData package on this one { "cmd": ["C:\\Program Files\\Python32\\python.exe", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python" } Where "C:\Program Files\Python32\python.exe" is my own path. When I press Ctrl + B. I see "building..." and than the inscription disapeers and nothing happens. What to do

How to format an assembly code?

强颜欢笑 提交于 2019-12-24 20:32:40
问题 I have a rather long code written in assembly language and I want to use it inside a C program using asm() function, but every line in the code must be quoted and a new line character ('\n') must be inserted at the end of each line in order to make it usable. Is there any text editing tool that can do that or I have to do it manually? 回答1: I wrote a program that gets the assembly code from file a.s and saves the formatted text into file b.s . #include <stdio.h> #include <stdlib.h> int main ()

Netbeans VisualJSF (Woodstock) Design view not available in 6.7.1

久未见 提交于 2019-12-24 20:27:37
问题 I recently installed netbeans 6.9, but VisualJSF Design view was not available in it. I Googled and it seems design view is not available after version 6.7.1. So I downloaded that version, but now I still dont have the design view. Does anyone know how to enable design view, or is there any other option to design the UI like we do using design view? 回答1: From here: http://forums.netbeans.org/ptopic37586.html NetBeans 6.7.1 was the last version with support for the visual desinger. Be aware

How to fix inconsistent indentation of a project in Sublime Text 3?

家住魔仙堡 提交于 2019-12-24 20:15:42
问题 I notice one of the file in my PHP Laravel project kept showing weird lines indetation in my Sublime Text 3. Both file in the same project, but I am not sure one show a lot more line than other. Is there a way to fix this in Sublime? Is there a way to fix the file indentation? 回答1: In situations where files don't seem to have the indentation that you would expect them to have based on your settings, the culprit is generally this setting: // Set to false to disable detection of tabs vs. spaces

how to correct red “import” error messages from Eclipse?

家住魔仙堡 提交于 2019-12-24 19:05:39
问题 I created a project using gradle init --type java-application --test-framework testng --dsl kotlin but Eclipse shows: For what it's worth, this runs fine: thufir@dur:~/eclipse-workspace/baseX$ thufir@dur:~/eclipse-workspace/baseX$ gradle clean run > Task :run Oct. 06, 2019 6:35:33 P.M. org.basex.examples.local.LoadXML <init> INFO: {databaseName=books, dataResource=books.xml} Oct. 06, 2019 6:35:34 P.M. org.basex.examples.local.LoadXML createDrop INFO: Name Resources Size Input Path -----------

Stanford NER Error: Loading distsim lexicon Failed

我与影子孤独终老i 提交于 2019-12-24 18:12:57
问题 In my project. I need to use NER annotation so I used NERDemo.java It works fine when I create a new project and have only this code, but when I add it to my project I keep getting errors. I have edited the path in my code to the specific location of the classifiers. I added the Jar files: This is the code: String serializedClassifier = "/Users/ha/stanford-ner-2014-10-26/classifiers/english.all.3class.distsim.crf.ser.gz"; String serializedClassifier2 = "/Users/ha/stanford-ner-2014-10-26

How to convert color from (rrr ggg bbb) to RRGGBB by javascript

做~自己de王妃 提交于 2019-12-24 16:18:42
问题 I have this code (in Selenium IDE): storeEval | window.document.defaultView.getComputedStyle(window.document.getElementsByTagName('input')[0]).getPropertyValue('background-color') | result it's returns me color in (rrr, ggg, bbb) , how can i get this color in RRGGBB ? 回答1: Try this: command: storeEval target : color = window.document.defaultView.getComputedStyle(window.document.getElementsByTagName('input')[0]).getPropertyValue('background-color'); colorArr = color.replace(/[(rgb()\)]/g, '')

android studio not detecting errors

♀尐吖头ヾ 提交于 2019-12-24 13:33:48
问题 I am using android studio 1.0.2, it doesn't seem to auto import or detect errors. I was able to get method suggestions using ctrl + space but I couldn't figure out why its not detecting errors. If I add random text between lines of code it says build is successful. attached image is how it looks like, I have android-studio settings done properly. Please help me is it something to do with latest android studio build? 回答1: There is a power saver mode in android studio if accidentally you click

reference for ejb jboss and eclipse development

别等时光非礼了梦想. 提交于 2019-12-24 12:19:01
问题 is there a reference or book, maybe a tutorial that can get me started with ejb using the technologies that I have mentioned above? thank you 回答1: You can take a look at the JBoss Tools if you're interested in developing Java EE applications in Eclipse. If you already know EJB (and if you don't there is quite good Enterprise JavaBeans 3.1 book) you know you can develop your EJB's as plain POJO's just with annotations. No need for fancy plugins here. You would, however, need a plugin to easily

Intellij Idea 14 - disable highlighting level messages

自古美人都是妖i 提交于 2019-12-24 11:41:01
问题 I recently moved from Eclipse to Intellij idea and i'm trying to customize it. I was wondering whether is posible to disable the description popup messages on the highlighting level, I don't want to disable the inspections, only the message because when the cursor is over the scrollbar, the popup blocks the scrollbar. I've already searched in settings, editor, inspection, but i haven't find how to disable it: 回答1: Right-click scrollbar > Customize Highlighting Level > Switch to "None" 回答2: