<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/syntax_suggest/unit/code_line_spec.rb, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/syntax_suggest] Bump minimum Ruby version &amp; update standardrb</title>
<updated>2023-12-04T22:29:44+00:00</updated>
<author>
<name>Schneems</name>
<email>richard.schneeman+foo@gmail.com</email>
</author>
<published>2023-12-04T22:19:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5a2d70ef73d4d17f5999f5087499a5eda1126567'/>
<id>5a2d70ef73d4d17f5999f5087499a5eda1126567</id>
<content type='text'>
https://github.com/ruby/syntax_suggest/commit/73753518e9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/syntax_suggest/commit/73753518e9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/syntax_suggest] Preserve whitespace in front of comments</title>
<updated>2023-04-06T06:45:28+00:00</updated>
<author>
<name>schneems</name>
<email>richard.schneeman+foo@gmail.com</email>
</author>
<published>2023-03-08T14:51:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e5236471c3ce194199a6ceb70012eb2ca243407e'/>
<id>e5236471c3ce194199a6ceb70012eb2ca243407e</id>
<content type='text'>
When removing comments I previously replaced them with a newline. This loses some context and may affect the order of the indent search which in turn affects the final result. By preserving whitespace in front of the comment, we preserve the "natural" indentation order of the line while also allowing the parser/lexer to see and join naturally consecutive (method chain) lines.

close https://github.com/ruby/syntax_suggest/pull/177
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When removing comments I previously replaced them with a newline. This loses some context and may affect the order of the indent search which in turn affects the final result. By preserving whitespace in front of the comment, we preserve the "natural" indentation order of the line while also allowing the parser/lexer to see and join naturally consecutive (method chain) lines.

close https://github.com/ruby/syntax_suggest/pull/177
</pre>
</div>
</content>
</entry>
<entry>
<title>Import spec examples from ruby/syntax_suggest</title>
<updated>2022-08-26T03:15:47+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-08-19T06:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0d9f4ea0d45f6577a4a13f898e981958a1f039c6'/>
<id>0d9f4ea0d45f6577a4a13f898e981958a1f039c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
