Posts

visual studio - TypeScript refactoring stopped working in VS 2013 RC2 -

I've just stopped working VS 2013 RC2 and typewriction refactoring, it has disappeared from the context menu, and Pressing Ctrl + R , Ctrl + R returns the following error message: The key combination (Ctrl + R, Ctrl + R) (.Refactor.Rename) is currently not available. I have tried to restart VS, no help, no idea, action? Edit: I have presented a bug for Microsoft. If you have a problem, please raise it: Microsoft posted the following reply It seems that VS In Express Edition, with Reformer / Rename Type 1corder 0.9, only VS Pro is available in TypeScript 1.0 above. Posted by Microsoft on 09/05/2014 at 09:25 Thank you for reporting this problem. There are refactors / renaming and navigating features that are found in Pro Studio's Vij Studio 2013 editions. The purpose of Pro + Tools is to help users work with a large codebase, so those versions of Visual Studio focus on creating tools to support those codebes. We want to learn TypeScript and continue t...

ide - Update PyCharm on Linux -

Would you please correct me to correctly update PyCharm on Linux ? Is it impossible to update PyCharm internally? In help & gt; Can I remove the previous folder with Power Charm and unpack new or do I want another way for this? On Linux, you have to delete the old Pichém Directory and start using a new package. At least now there is no other way. When launching a new version you will be asked if you want to import config files, you can find the old configuration files in the (Hidden) directory in your home folder, for example: ~ / .PyCharm2016.2 / config

c# - Sorting a dictionary by keys in the order in an Arraylist -

I was asked the following question in an interview. I can sort a dictionary from the key, in order that any array is in the list. For example, I have a dictionary such as dictionary ; String, string & gt; StringDict = New Dictionary & lt; String, string & gt; (); StringDict.Add ("1", "One"); StringDict.Add ("7", "Seven"); StringDict.Add ("6", "Six"); StringDict.Add ("2", "Two"); StringDict.Add ("3", "Three"); StringDict.Add ("5", "Five"); StringDict.Add ("4", "Four"); and an array list is as follows array list stringArList = new ArrayList (); stringArList.Add ("1"); StringArList.Add ("2"); stringArList.Add ("3"); StringArList.Add ("5"); stringArList.Add ("6"); StringArList.Add ("7"); stringArList.Add ("4"); How can I sort this array in the order in o...

unrecognized rule error in lex {lineo++;} -

I got some errors in my linux code, maybe somebody knows what I did wrong ... 16 %% 17 {ws} {/ * no action and no refunds} 18} {{9line} {lineO +};} 20 {number} {tokenval = Yytext; Return (NUM);} 21 {ID} {22 int pt = 0; 23p = lookup (yytext); 24 if (P == 0) 25p = Enter (YETtext, ID); 26 Toknaval = P; 27 Return Simblate [P]. Towne; 28 29} 30 31 & lt; & Lt; EOF & gt; & Gt; {Refunded;} 32 {Tokel = None; Returns yytext [0];} 33 34 35 %% I'm a newbie in this type of technique, and I spend much time about it but without any positive results Below the errors from the console: new.l: 21: unrecognized rule new.l: 28: unrecognized rule new.l: 28: unrecognized rule new.l: 36: an action in EOF New.l: 36: unrecognized rule new.l: 36: create deadly parse error: *** [lex.yy.c] error 1 when I delete that line The code is bad (line: 21-32) Uje that error: new.l: 19: 2: error: a row ??? Undeclared (first use in this function) {newline} {lineo ++;} line 18 ( ...

javascript - How to extend NoFlo-Ui with group selection -

I'm trying to add functionality to the noflo UI, I want to be able to select groups and display a panel I am showing the name and details of the group (the panel will be shown as a support panel in one place). I am trying to do this as the first step to increase the group paradigm. (I want to add more group metadata and the user will be able to edit that metadata.) Problem I can not select the group Ask for the group to hook. (Or selected group property) I have noticed in the way I have selected the nodes collection, but the selected nodes in the graph / thegraph-editor.html relate to the property of the node-inspector Nodes connects to property ( element / noflo-node-inspector.html and element / noflo-context.html ) I used the application / FBP Scripts in index.html but none of them seems to be corrospond in the selected nodes property. Question How can I make an asset theGraph and that property to noflo-ui ? See . Applying selected groups was more ...

c - strcpy with destination pointer and return value -

My plain bit is a bit messy, and I currently try to understand why the first works and not the second . Four * Returns some (zero) {four * S = (four *) Molk (5 + 1); Strapepi (S, "Hello"); Return S; } Zero dontReturnSomething (char * dest) {char * s = (four *) malloc (5 + 1); Strapepi (S, "Hello"); Dest = malloc (strlen (s) + 1); Strapepy (Dest, S); Free (s); } Int main (int argc, char * argv []) {char * first = return some (); Char * second = NULL; DontReturnSomething (second); Printf ("first:% s | second:% s", first, second); } Is not it basically the same thing? You need an indicator to return an indicator through an indicator. Declare as dest as char ** dest . void dontReturnSomething (char ** dest) {char * str = "Hello"; * Dest = malloc (strlen (str) + 1); Strcpy (* dest, str); } Call the function like this: dontReturnSomething (& amp; seconds); // second to the address

osx - Pkg-config script could not be found -

I'm trying to install some software, but I get the error: configure: error: pkg-config script is not found or is too old. Make sure it is in your path or set the PKG_CONFIG ambient variable in the full path of pkg-config. I just installed the brew command, and tried to use it to install pkg-config. It says that it is already established. I've ensured that it is in the path through the export PATH = $ PATH: / usr / bin / pkg-config . In addition to this, install glib, it says that I'm missing I used the brew install libfft to install this missing package, however, The message is that it is not there. This is a new Mac, so maybe things are not running in the proper directory? Any help would be appreciated, because I lost. I do not know which formula you are trying to install, but the real problem is It may be that whatever you are trying to install is "dependent" pkg-config. This line may be required in: depend_on "pkg-config" ...