0

No code completion for C++

929077340 7 years ago 0

no code completion for C++, and lack syntax for basic operations and structs.

0

Price of update

Tom 7 years ago updated by Alexander Blach (Developer) 7 years ago 1

I would have liked an update version from the old textastic instead of having to pay the full price again.

0
Under review

why this app cant show Chinese

1156531811 7 years ago updated by Alexander Blach (Developer) 7 years ago 1
0
Under review

I can’t run the code

marc torras larson 7 years ago updated by Alexander Blach (Developer) 7 years ago 1

I can’t seem to immediately run the code I am using...

0

Smart Indent

david marzahn privat 7 years ago 0

Indent content in combination with auto brackets (hopefully coming soon).

0

Loading Zip

GS AED 7 years ago 0

Losing ZIP files from  my IPAD is not working, impossible to extract.

0

Snippet to generate custom JavaScript CodeCompletion file

Tapsi 7 years ago updated 7 years ago 3

Hi guys,


I wrote a small snippet to generate custom JS code completion description files. It can be executed at runtime and parses all objects from the global object and tries to extract their API.


I know at the moment Textastic does not supports suggestion of file symbols nor project wide symbols. That's why this snippets maybe helps people to workaround that missing feature.

At the moment this snippet is very limited and only makes the method names available in the editor without any context. I plan to add the context information and maybe also the function parameters for the completion data.  


So if you're interested in this snippet, then I can share future versions of the script here. :) 




const logCompletionDescriptionData = () => {
          const getSymbols = function() {
            const getSymbolsOfObject = (obj, symbols = [], level = 0) => {
              if (level == 5) return []
              return Object
                .keys(obj)
                .filter(key => symbols.indexOf(key) === -1)
                .filter(key => isNaN(parseInt(key)))
                .map((key, i, array) => {
                  const value = obj[key]
                  if (!value) return [key]
                  
                  const isArray = Array.isArray(value)
                  const isFunction = typeof value === "function"
                  
                  if (!isArray && !isFunction) {
                    return [key].concat(getSymbolsOfObject(value, array, level + 1))
                  }
                  
                  return [key]
                })
                .reduce((a, b) => a.concat(b), [])
                .filter((value, index, self) => self.indexOf(value) === index)
                .sort((a,b) => a < b ? -1 : +1)
            }
              
            return getSymbolsOfObject(window) 
          }     
          
          const metaData = {
            "description": "BlackCats Code",
            "uuid": "DE267669-E66E-400A-ACEA-BD906DC2B813",
            "completionSets": [
              {
                "name": "js.blackcat.code",
                "strings": getSymbols()
              }
            ],
            "contexts": [
              {
                "description": "root",
                "scope": "source.js - comment - string",
                "pattern": "(?<!\\.)\\b([a-zA-Z]*)",
                "completionCaptureIndex": 1,
                "completionSetNames": [
                  "js.blackcat.code"
                ]
              }
            ]
          }
          
          console.log(JSON.stringify(metaData, null, 2))
      }




0

Bug? Textastic auto-renames files it edits?

Beau Hartshorne 8 years ago 0

On iOS 11, when I open a file from Dropbox, Textastic renames the file automatically (to lowercase). Is this necessary?

0

key features missed : search and sort files from cloud

g6w411 8 years ago 0

Dear author, 


I like Textastic, and it is my main solution to search/edit text/md files in iphone and ipad. 


After I read doc of textasticapp, I was wandering why there were still no these basic features in mature textastic. 


1. order files by LUT (last updated time) from cloud (icloud or dropbox)

2. search files by name or regex from cloud (icloud or dropbox) 


As far as I can remember, before upgrade to ios 11, #1 is available, but after upgrading to ios 11, this one is not there. 


Textastic is still the best text editor/viewer in iOS. Please consider these 2 key features. 




Best, 

Alex



0
Under review

Textastic ‘looses’ repositories from Working Copy

thomas vogelpohl 8 years ago updated by Anders Borum 8 years ago 4

Hi, I am using an iPad Air 1 with iOS 11. I can drag and drop a repo from Working Copy to Textastic and work with the code. Then after a while, I get a ‘Spinning disk’ and suddenly the file I am working on is gone and Textastic can not open any Repo any more. In the file chooser on the left side is not written Working Copy any more but something like ‘External storage provider’ or something like that.

I have no idea if this is caused by WC or Textastic.

I have seen this happening in one of the iOs Beta versions ... but it was fixed by a newer Beta.


Thanks,

Thomas