I can set a label for a project in SourceSafe using label command.
If you look at dialog which set the label, there are two comments fields:
label comment and comment.
How can I set them in label command and prevent batch file asking them?
I do not try this, but in according with documentation it should be
ss Label $/ -LLabelName -C"Comment Text" -I-
https://msdn.microsoft.com/en-us/library/7d9sd5y2(v=vs.80).aspx
Related
In Eclipse, I would like to edit the font of a single comment within a block of comments. I don't want to change all of the comment lines in the class, but a single comment. For example, I want to make a first line in the comment block bold, to make it stand out as a title line.
The only method in Eclipse that I found that can change font (ex: make it bold or italicized, was Window > Preferences > Java > Editor > Syntax Coloring. This, however, affects all comments, and I cannot find a way to change a single comment.
How do I reference a cell in a IPython notebook markdown?
I know how to make a reference to an external link. But is there a way to assign an ID to a cell and then refer to the cell in the markdown?
Yes, there's way to do just that in IPython.
First, define the destination in the cell you want to link with a html anchor tag and give it an Id. For example:
<a id='another_cell'></a>
Note - When you run the above cell in markdown, it will become invisible. You can add some text above the anchor to identify the cell.
Second, create the internal hyperlink to the destination created above using Markdown syntax in another cell and run it:
[Another Cell](#another_cell)
Now, clicking on link should take you to the destination.
If you want to link directly to a specific section of your notebook, it can be useful to use this code: [section title](#section-title). Note that, for the text in the parentheses, you should replace spaces and special characters with a hyphen.
As an example, consider this case in which we want to insert a link to the section 'Univariate + One step ahead':
To do so, we just need to add the code [Univariate + One step ahead](#Univariate-+-One-step-ahead):
This way we avoid the introduction of an anchor tag, since the section title already acts as one.
I want to modify the existing tool tip text.I have following lines in plugin.xml
<command commandId="org.eclipse.ui.edit.paste"
id="org.eclipse.ui.edit.paste" tooltip="%pasteAction.TIP">
in plugin.properties
pasteAction.TIP=Paste
Existing tool tip appears like following
Paste(Ctrl+V)
I want to modify this existing tool tip to appears like following
Paste(Ctrl+V)
Paste a reference to the object
I am getting three problems to achieve this use case.
(Ctrl+V) added automatically at the end of tool tip text. which is not desired. It should appear where it is expected.
don't know how to Bold the particular string e.g. (Ctrl+V)
don't know how to make tool tip text multiline
we can use \n for multiline. it works but still looking for other two questions.
Thanks
For controls that you create you can use the org.eclipse.jface.window.ToolTip class to define custom tool tips.
For controls that Eclipse creates I don't know of any way to change the position of the key binding text or the font (bold).
Like the title says, is it possible to add a few completely new tags to the issue using single command window?
I tried e.g. tag test1 tag test2 but command preview sees this as one command 1. Add new tag test1 tag test2. It looks like I need some kind of text separator, but I cannot find it in documentation.
Thanks
No it's not possible.
In case of 'tag' command it will try first to find existing tag and in if there is no such tag it will create one from entire string.
I think it should be pretty simple what I want to do, basically I have one edit box that displays a value in percentages and another that I want to update to display raw values. I've tried using the following code under the edit1 (percent) callback:
currentKey = str2num(get(gcf,'CurrentKey'));
percent = str2num(get(handles.edit1,'String'));
if ~isnan(currentKey) && ~isnan(percent) && 0<=percent && percent<=100
set(handles.edit2,'String',num2str(2*percent))
end
But it will only update the second edit box if I first click outside of the first one. Anyone have an idea of what I should be doing?
Thanks!
I think this link should help you:
How can I make the text that I enter into an edit text box update dynamically?
Solution:
This enhancement has been incorporated in Release 2011a (R2011a). For previous product releases, read below for any possible workarounds:
This is expected behavior of the Edit Box UICONTROL in MATLAB.
You can try using the 'keypressfcn' to grab the keyboard input. The attached two files demonstrate the ability of real-time text update. As you enter text into the upper edit box, the text will be copied to the edit box beneath it as you enter.
Please download the following two files:
test_keypressfcn.m
test_keypressfcn.fig
Execute the program.
A GUI will appear. Enter text in the upper edit box displayed in the GUI.
Observe the text in the lower editbox is updated dynamically or in real-time as you enter test in the upper edit box.
Please note that this will work only for text that is continuously entered in the editbox. If you type in between words already entered in the editbox the gui will not perform as expected. You will need to implement logic similar to the one in this example to get the behavior that you desire.