<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Click for more information</title>
	<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/</link>
	<description>Ken &#38; Mike work on the MATLAB Desktop team</description>
	<pubDate>Mon, 23 Nov 2009 00:40:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6172</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 01 Apr 2009 11:21:13 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6172</guid>
		<description>junziyang,

 While we would like do more with non-MathWorks languages like C, Java, Fortran, etc, there are already great environments for programming these languages like Visual Studio, Xcode, Eclipse, IntelliJ, etc. As far as I know, MATLAB is only IDE with a fully-functional Editor/Debugger for the MATLAB language. Therefore our first responsibility is to help out people programming MATLAB code. 

That doesn't mean we don't have some new and neat features planned for editing other languages. :-)</description>
		<content:encoded><![CDATA[<p>junziyang,</p>
<p> While we would like do more with non-MathWorks languages like C, Java, Fortran, etc, there are already great environments for programming these languages like Visual Studio, Xcode, Eclipse, IntelliJ, etc. As far as I know, MATLAB is only IDE with a fully-functional Editor/Debugger for the MATLAB language. Therefore our first responsibility is to help out people programming MATLAB code. </p>
<p>That doesn&#8217;t mean we don&#8217;t have some new and neat features planned for editing other languages. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: junziyang</title>
		<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6169</link>
		<dc:creator>junziyang</dc:creator>
		<pubDate>Wed, 01 Apr 2009 05:18:00 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6169</guid>
		<description>Editor is a tool for user EDIT their code. The MATLAB Editor good enough for MATLAB code edit and debug, I think. Instead of spending more time and mony on the developing of such tricks, Why do not to improve the Editor for editing or debuging MEX files such as Fortran and JAVA,conveniently.
 Would it be more worthy?</description>
		<content:encoded><![CDATA[<p>Editor is a tool for user EDIT their code. The MATLAB Editor good enough for MATLAB code edit and debug, I think. Instead of spending more time and mony on the developing of such tricks, Why do not to improve the Editor for editing or debuging MEX files such as Fortran and JAVA,conveniently.<br />
 Would it be more worthy?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6167</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 31 Mar 2009 15:15:11 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6167</guid>
		<description>Thanks for the suggestions, Eric.</description>
		<content:encoded><![CDATA[<p>Thanks for the suggestions, Eric.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6165</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 27 Mar 2009 16:08:14 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6165</guid>
		<description>Mike, it might not make the most sense to do this, but it's a matter of the 'principle of least suprise'. The information said that Ctrl-m expands the message, not that it expands the message only if you've cursored to the m-lint highlight. I kept trying to use the keybinding and it did nothing for me, until it dawned on me to try the keyboard to navigate to there. What would it hurt to allow Ctrl-m to work with mouseover? It might prevent the situation that I ran into when you're trying to use/discover the feature for the first time.

I think you could fit a small button below the existing 'Fix' one in the dead space (right aligned on the same line as 'Press Alt-Enter to fix, Alt-??? to suppress). Otherwise you'd have to switch to the keyboard when you were just using the mouse to view the message. A keybinding would also be helpful though for when you are navigating with the keyboard.</description>
		<content:encoded><![CDATA[<p>Mike, it might not make the most sense to do this, but it&#8217;s a matter of the &#8216;principle of least suprise&#8217;. The information said that Ctrl-m expands the message, not that it expands the message only if you&#8217;ve cursored to the m-lint highlight. I kept trying to use the keybinding and it did nothing for me, until it dawned on me to try the keyboard to navigate to there. What would it hurt to allow Ctrl-m to work with mouseover? It might prevent the situation that I ran into when you&#8217;re trying to use/discover the feature for the first time.</p>
<p>I think you could fit a small button below the existing &#8216;Fix&#8217; one in the dead space (right aligned on the same line as &#8216;Press Alt-Enter to fix, Alt-??? to suppress). Otherwise you&#8217;d have to switch to the keyboard when you were just using the mouse to view the message. A keybinding would also be helpful though for when you are navigating with the keyboard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6164</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 27 Mar 2009 15:36:54 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6164</guid>
		<description>Eric,

 To address your first point, if you already have your hand on the mouse to hover over the message, why would you move to the keyboard to expand it rather than click the hyperlink? (That's the general "you", btw) That was our thinking for not providing the keyboard expand action in the mouse situation.

 Your second point would be convenient, but we did not want to complicate an already busy "tooltip" by adding more buttons. I'm toying with the idea of adding a keybinding for quick message suppression.</description>
		<content:encoded><![CDATA[<p>Eric,</p>
<p> To address your first point, if you already have your hand on the mouse to hover over the message, why would you move to the keyboard to expand it rather than click the hyperlink? (That&#8217;s the general &#8220;you&#8221;, btw) That was our thinking for not providing the keyboard expand action in the mouse situation.</p>
<p> Your second point would be convenient, but we did not want to complicate an already busy &#8220;tooltip&#8221; by adding more buttons. I&#8217;m toying with the idea of adding a keybinding for quick message suppression.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6163</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 27 Mar 2009 15:13:38 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6163</guid>
		<description>Hi Mike,

I noticed that if I bring up the M-lint message by hovering over it with the mouse, Ctrl-m doesn't expand it - this only works if you initially bring up the message by cursoring to it and then Ctrl-m'ing. This seems odd.

Also, it would be nice if there was a 'Suppress' button on the message alongside the 'Fix' button. Right now you have to switch to a different context/menu using right-click and then find the correct option, instead of just quickly clicking a button.

Best, 
Eric S.</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>I noticed that if I bring up the M-lint message by hovering over it with the mouse, Ctrl-m doesn&#8217;t expand it - this only works if you initially bring up the message by cursoring to it and then Ctrl-m&#8217;ing. This seems odd.</p>
<p>Also, it would be nice if there was a &#8216;Suppress&#8217; button on the message alongside the &#8216;Fix&#8217; button. Right now you have to switch to a different context/menu using right-click and then find the correct option, instead of just quickly clicking a button.</p>
<p>Best,<br />
Eric S.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6162</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 27 Mar 2009 12:09:45 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6162</guid>
		<description>Michael,

 The &lt;tt style="color:green;"&gt;%#ok&lt;/tt&gt; directives are particular to each message type, depending on the ID. For example for the using semicolon in a function, the directive is &lt;tt style="color:green;"&gt;%#ok&#60;&lt;b&gt;NOPRT&lt;/b&gt;&#62;&lt;/tt&gt;. This will suppress the "Terminate statement with semicolon..." for just the line the directive appears on. You can also with a single directive suppress all "Terminate statement..." mssages in the file; it looks like: &lt;tt style="color:green;"&gt;%#ok&#60;&lt;b&gt;*&lt;/b&gt;NOPRT&#62;&lt;/tt&gt;. The context menu will insert these automatically for you.</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p> The <tt style="color:green;">%#ok</tt> directives are particular to each message type, depending on the ID. For example for the using semicolon in a function, the directive is <tt style="color:green;">%#ok&lt;<b>NOPRT</b>&gt;</tt>. This will suppress the &#8220;Terminate statement with semicolon&#8230;&#8221; for just the line the directive appears on. You can also with a single directive suppress all &#8220;Terminate statement&#8230;&#8221; mssages in the file; it looks like: <tt style="color:green;">%#ok&lt;<b>*</b>NOPRT&gt;</tt>. The context menu will insert these automatically for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6161</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 27 Mar 2009 07:25:13 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6161</guid>
		<description>Thank you Mike,

the first solution is the general one, I mentioned as not satisfying, as it treats all lines in the same way (it only distinguishes between scripts and functions). 

The second one is a more specific solution which seems to fit my needs. One question: Does the %#ok directive only deactivate the semicolon warning or are all tests omitted?

Michael</description>
		<content:encoded><![CDATA[<p>Thank you Mike,</p>
<p>the first solution is the general one, I mentioned as not satisfying, as it treats all lines in the same way (it only distinguishes between scripts and functions). </p>
<p>The second one is a more specific solution which seems to fit my needs. One question: Does the %#ok directive only deactivate the semicolon warning or are all tests omitted?</p>
<p>Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6148</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 24 Mar 2009 12:49:35 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6148</guid>
		<description>Michael,

 You have a few options in this case:

1. Specifically for the semi-colon, we have two separate messages, one for functions and one for scripts. From the M-Lint Preferences (File -&gt; Preferences) you can disable the message for scrips and leave the one for functions enabled.

&lt;img src="http://blogs.mathworks.com/images/desktop/michael_katz_click_for_more_information/terminate_output_pref.png"&gt;

2. You can suppress an individual warning just for one instance or the whole file using the right-click context menu on an individual message. This inserts a &lt;tt&gt;%#ok&lt;/tt&gt; directive into the file's text.

&lt;img src="http://blogs.mathworks.com/images/desktop/michael_katz_click_for_more_information/contextmenu.png"&gt;</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p> You have a few options in this case:</p>
<p>1. Specifically for the semi-colon, we have two separate messages, one for functions and one for scripts. From the M-Lint Preferences (File -> Preferences) you can disable the message for scrips and leave the one for functions enabled.</p>
<p><img src="http://blogs.mathworks.com/images/desktop/michael_katz_click_for_more_information/terminate_output_pref.png"/></p>
<p>2. You can suppress an individual warning just for one instance or the whole file using the right-click context menu on an individual message. This inserts a <tt>%#ok</tt> directive into the file&#8217;s text.</p>
<p><img src="http://blogs.mathworks.com/images/desktop/michael_katz_click_for_more_information/contextmenu.png"/></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6147</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 24 Mar 2009 10:51:41 +0000</pubDate>
		<guid>http://blogs.mathworks.com/desktop/2009/03/16/click-for-more-information/#comment-6147</guid>
		<description>What I miss is a selective deactivation of messages. A goof example is the warning "Terminate statement with a semicolon ..." you are using in the articles screenshot. 

In most cases it is usefull to supress the output, but especially in scripts I want to see selected outputs in the command window. 

In this situation I can only deactivate the specific warning complete or not. The result is, the specific item will not be checked in the whole file or there will be some warnings, I have to ignore.

Michael</description>
		<content:encoded><![CDATA[<p>What I miss is a selective deactivation of messages. A goof example is the warning &#8220;Terminate statement with a semicolon &#8230;&#8221; you are using in the articles screenshot. </p>
<p>In most cases it is usefull to supress the output, but especially in scripts I want to see selected outputs in the command window. </p>
<p>In this situation I can only deactivate the specific warning complete or not. The result is, the specific item will not be checked in the whole file or there will be some warnings, I have to ignore.</p>
<p>Michael</p>
]]></content:encoded>
	</item>
</channel>
</rss>
