File tree Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1717-  Fix highlighting of other languages being affected by rescript-vscode. https://github.com/rescript-lang/rescript-vscode/pull/973 
1818-  Use canonicalized URIs/paths for jump to definition. https://github.com/rescript-lang/rescript-vscode/pull/982 
1919-  Fix JSX prop special case in end of JSX element. https://github.com/rescript-lang/rescript-vscode/pull/984 
20+ -  preserve URI format in canonicalizeUri. https://github.com/rescript-lang/rescript-vscode/pull/990 
21+ -  Remove workaround for canonicalize function in tests https://github.com/rescript-lang/rescript-vscode/pull/992 
2022
2123#### :nail_care :  Polish 
2224
Original file line number Diff line number Diff line change @@ -191,9 +191,7 @@ let main () =
191191      (Json. escape (CreateInterface. command ~path  ~cmi File))
192192  |  [_; " format" 
193193    Printf. printf " \" %s\" " Json. escape (Commands. format ~path ))
194-   |  [_; " test" 
195-     Cfg. isTestMode :=  true ;
196-     Commands. test ~path 
194+   |  [_; " test" Commands. test ~path 
197195  |  args  when  List. mem " -h" ||  List. mem " --help" 
198196  |  _  ->
199197    prerr_endline help;
Original file line number Diff line number Diff line change 11let  debugFollowCtxPath =  ref  false 
22
33let  isDocGenFromCompiler =  ref  false 
4- 
5- let  isTestMode =  ref  false 
Original file line number Diff line number Diff line change @@ -104,7 +104,5 @@ let classifySourceFile path =
104104  else  Other  
105105
106106let  canonicalizeUri  uri  = 
107-   if  Cfg. isTestMode.contents then  uri |>  Uri. toString 
108-   else  
109-     let  path =  Uri. toPath uri in  
110-     path |>  Unix. realpath |>  Uri. fromPath |>  Uri. toString 
107+   let  path =  Uri. toPath uri in  
108+   path |>  Unix. realpath |>  Uri. fromPath |>  Uri. toString 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments